Create User
Invite a new user in the caller’s org. This will create the user and send a registration email to the created User’s email, with a registration code, and pointing him to complete his registration on Dfns Dashboard. The user is created without any permissions.
Authentication
✅ Organization User (CustomerEmployee)❌ Delegated User (
EndUser)❌ Personal Access Token not allowed
✅ Service Account
Required Permissions
Auth:Users:Create: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Body
The email address of the new user.
The kind of user being created.
In this endpoint it can only be "CustomerEmployee" (creating an "EndUser" is done through the Delegated Registration endpoint)
CustomerEmployee Optional public key in PEM format associated with the user.
Value that can be used to correlate the entity with an external system.
If set to true, the user will have to authenticate via SSO
Response
Success
Username/identifier of the user (any unique string accepted, e.g. your internal user ID or email).
Display name of the user.
User id.
1 - 64^us-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"us-6b58p-r53sr-rlrd3l5cj3uc4ome"
User kind.
CustomerEmployee, EndUser UUID of the user's primary credential.
Whether the user is active.
Whether the user is a service account.
Whether the user has completed registration.
Whether the user must authenticate via SSO.
Permissions (roles) assigned to the user.
Organization id.
1 - 64^or-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"or-30tnh-itmjs-s235s5ontr3r23h2"
Account id.
1 - 64^acct-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"acct-24hka-dhili-9hgvdlvr1ohpibp4"
@deprecated - Flat list of API operations the user has access to.