Create an invite code for a user
Create an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. If an invite code has been created previously, its URL template and application name will be used as defaults for the new code. The new code will overwrite the previous one and make it invalid.
user_id*user_idapplication/json- body
returnCode*Success
application/json- response
details?inviteCode?|The invite code is returned if the verification was set to return_code.
curl -X POST 'https://example.com/v2/users/string/invite_code' \ -H 'Content-Type: application/json' \ -d '{ "returnCode": {}}'{ "details": { "sequence": 0, "changeDate": "2023-01-15T01:30:15.01Z", "resourceOwner": "string", "creationDate": "2023-01-15T01:30:15.01Z" }, "inviteCode": "string"}Was this page helpful?
Create a User
Create a User: Create a new user or service account in the specified organization. Required permission:
Deactivate user
Deactivate user: The state of the user will be changed to 'deactivated'. The user will not be able to log in anymore. The endpoint returns an error if the user is already in the state 'deactivated'. Use deactivate ...
