Skip to content

Create a SCIM user.

POST
/scim/v2/Users

Creates the account through the tenant directory publication workflow. Idempotency-Key is optional for SCIM client compatibility; when omitted, Authrim derives a stable key from the authenticated provisioning token and canonical request body. Returns 202 with an operation Location when directory publication continues asynchronously. userName is unique within the tenant using case-insensitive comparison; externalId is not unique. Capacity provisioning and runtime binding propagation return retryable 503 responses.

Idempotency-Key
string
>= 8 characters <= 128 characters

Stable replay-protection key for one user creation request. Omit to use Authrim’s deterministic SCIM request key; send a new explicit value to intentionally recreate an otherwise identical resource after deletion.

object
schemas
required
Array<string>
id
string
externalId

Source-system correlation identifier. Authrim does not require uniqueness.

string
userName
required

Tenant-wide, case-insensitive unique SCIM login identifier.

string
>= 1 characters
name
object
formatted
string
familyName
string
givenName
string
middleName
string
honorificPrefix
string
honorificSuffix
string
key
additional properties
displayName
string
nickName
string
profileUrl
string format: uri
title
string
userType
string
preferredLanguage
string
locale
string
timezone
string
active
boolean
password

Unsupported by Authrim SCIM provisioning. Requests that include this field are rejected with 400 invalidValue; use Passkey, Email Code, Directory Connector, or External IdP authentication instead.

string
emails
Array<object>
object
value
required
string format: email
type
string
primary
boolean
display
string
key
additional properties
phoneNumbers
Array<object>
object
value
required
string
type
string
primary
boolean
key
additional properties
addresses
Array<object>
object
formatted
string
streetAddress
string
locality
string
region
string
postalCode
string
country
string
type
string
primary
boolean
key
additional properties
groups
Array<object>
object
value
required
string
$ref
string format: uri
type
string
Allowed values: User Group
display
string
key
additional properties
meta
object
resourceType
string
Allowed values: User Group
created
string format: date-time
lastModified
string format: date-time
location
string format: uri
version
string
key
additional properties
key
additional properties

Successful SCIM JSON response.

object
schemas
Array<string>
key
additional properties
Example generated
{
"schemas": [
"example"
]
}

Durable account creation operation state.

Media type application/scim+json
object
schemas
required
array
id
required
string
status
required
string
Allowed values: preparing reserved writing directory_pending succeeded blocked canceled
operationId
required
string
userId
string
resourceLocation
string format: uri
meta
required
object
resourceType
string
Allowed values: User Group
created
string format: date-time
lastModified
string format: date-time
location
string format: uri
version
string
key
additional properties
key
additional properties
Example
{
"status": "preparing",
"meta": {
"resourceType": "User"
}
}
Location
string

Operation status URL when returned by POST /Users.

SCIM error response.

Media type application/scim+json
object
schemas
Array<string>
status
string
scimType
string
detail
string
key
additional properties
Example generated
{
"schemas": [
"example"
],
"status": "example",
"scimType": "example",
"detail": "example"
}

SCIM error response.

Media type application/scim+json
object
schemas
Array<string>
status
string
scimType
string
detail
string
key
additional properties
Example generated
{
"schemas": [
"example"
],
"status": "example",
"scimType": "example",
"detail": "example"
}

Account capacity or a newly deployed runtime database binding is unavailable.

Media type application/scim+json
object
schemas
Array<string>
status
string
scimType
string
detail
string
key
additional properties
Example generated
{
"schemas": [
"example"
],
"status": "example",
"scimType": "example",
"detail": "example"
}
Retry-After
integer
>= 1
Example
1

Minimum suggested delay before retrying the same request, in seconds.