Users
Read more about users management from Users Management documentation.
Get the user's own details
Response
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update own user details
Body
namestringemailstringpasswordstringpassword_ confirmationstringcurrent_ passwordstringResponse
User object
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Accept latest Acceptable Use Policy
Response
AUP accepted or already agreed
Unauthorized
Forbidden
AUP contract not found
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Remove own safe devices which doesn't require 2FA code
Response
No Content
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Show current user recovery codes
Body
current_ passwordstringResponse
User recovery codes object
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Generate recovery codes for current user
Body
current_ passwordstringResponse
User recovery codes object
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get a list of users in the tenant
Response
A list of users
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Create a new user
Body
namestringemailstringuser_ levelstringsuperadmin_ capabilitiesArray<string> | nulloperativefinancelegalGranular capabilities array for superadmin users (operative, finance, legal)
[
"operative",
"finance",
"legal"
]Response
User object
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Create a service account (bot user)
Body
namestringBot Useris_ adminbooleanfalseapi_ accessbooleanWhether the service account has API access
trueResponse
Service account object with token
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get user details
Parameters
userintegerrequiredpathResponse
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update a user
Body
namestringemailstringpasswordstringpassword_ confirmationstringemail_ verified_ atbooleanuser_ levelstringsuperadmin_ capabilitiesArray<string> | nulloperativefinancelegalGranular capabilities array for superadmin users (operative, finance, legal)
[
"operative",
"finance",
"legal"
]namestringBot Useremailstringbot@tenant.invalidpasswordstringtemporaryPassword123password_ confirmationstringtemporaryPassword123email_ verified_ atbooleantrueuser_ levelstringuserapi_ accessbooleanAPI access configuration (only available for service accounts/bot users on Enterprise plan)
trueParameters
userintegerrequiredpathResponse
User object
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Delete a user
Parameters
userintegerrequiredpathResponse
No Content
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Remove current user 2FA and send email notification to user to set up 2FA again
Parameters
userintegerrequiredpathResponse
No Content
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Get active user and tenant metadata
Response
User metadata
Unauthorized
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)