Users

The Users API allows you to programmatically manage users within your Decube organization. You can create new users, fetch user details, deactivate users, and list all users in your account. These endpoints are useful for automating user onboarding and offboarding, auditing user status, and integrating user management into your internal workflows.

Use the endpoints below to:

  • Add new users to your organization

  • Retrieve user information by ID or email

  • Deactivate (remove) users

  • List all users and their statuses

get

Endpoint to fetch a user for the organization.

Query parameters
idstring · nullableOptional
emailstring · nullableOptional
Responses
chevron-right
200Success
application/json
emailstringRequired
idstringRequired
namestringRequired
statusstring · enumRequiredPossible values:
get
/user
post

Endpoint to create a user for the organization.

Body
emailstringRequired
namestringRequired
Responses
post
/user
delete

Endpoint to deactivate a user for the organization.

Query parameters
emailstringRequired
Responses
chevron-right
200

User account deactivated successfully.

application/json
codestringRequired
messagestringRequired
delete
/user
get

Endpoint to fetch users for the organization.

Query parameters
pageinteger · nullableOptional
page_sizeinteger · nullableOptional
Responses
chevron-right
200Success
application/json
countinteger · int64Required
get
/users

Last updated