Skip to content

Create SCIM token

POST
/api/admin/scim-tokens
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/scim-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "description": "SCIM provisioning token", "expiresInDays": 90 }'

Creates a tenant SCIM bearer token. The plaintext token is returned once and must be stored by the caller.

Media type application/json
object
description
string
expiresInDays
integer
>= 1 <= 3650
key
additional properties
Example
{
"description": "SCIM provisioning token",
"expiresInDays": 90
}

SCIM token creation response.

Media type application/json
object
token
required
string
tokenHash
required
string
tenantId
required
string
description
required
string
expiresInDays
required
integer
message
required
string
key
additional properties
Example
{
"token": "scim_live_generated_token_value",
"tokenHash": "sha256:abc123",
"tenantId": "tenant_123",
"description": "SCIM provisioning token",
"expiresInDays": 90,
"message": "Token created successfully. Save this token securely - it will not be shown again."
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}