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 | nullOptional
emailstring | nullOptional
Responses
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
delete
/user
get

Endpoint to fetch users for the organization.

Query parameters
pageinteger | nullOptional
page_sizeinteger | nullOptional
Responses
get
/users

Last updated