Create a user
Changed onCreates a user.
Provider decides where the user is created. When omitted, Default is used.
- Default (the service's default identity provider for new users)
- Auth0
InitialPassword decides how the user gets their first password. When omitted, a missing password means Invitation (the identity provider emails the user the way to set their own) and a supplied password is Permanent. Temporary must be changed at first sign-in. Nothing is emailed for Permanent or Temporary - the caller delivers the password.
To add an invited person, accept their invitation instead; creating the login here registers them without it.
Request
- Base URLhttps://api.smokeball.com
- URLhttps://api.smokeball.com/users
- AuthAPI key in header x-api-key and API key in header Authorization
Request body
Example request
{
"provider": "Auth0",
"email": "user@domain.com",
"expireAfterDays": 7,
"isInternal": true,
"bypassMfa": true,
"initialPassword": "Temporary",
"mfaEnrollmentGraceDays": 30
}Response
When the user was created. Returns the created 'User' object.
Example response
{
"userId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"email": "user@domain.com",
"isInternal": true,
"bypassMfa": true
}Changes
- info
added the new optional request property
////(media type: application/json-patch+json) - info
added the new optional request property
////(media type: application/json) - info
added the new optional request property
////(media type: application/*+json)
- info
- breaking
removed the success response with the status
- info
added the new optional request property
////(media type: application/json-patch+json) - info
added the new optional request property
////(media type: application/json) - info
added the new optional request property
////(media type: application/*+json) - info
added the new optional request property
////(media type: application/json-patch+json) - info
added the new optional request property
////(media type: application/json) - info
added the new optional request property
////(media type: application/*+json) - info
added the success response with the status
- breaking