Skip to content
Sign in Create account

Provision a SCIM bearer token for the tenant

POST /api/sso/scim/provision-token

Enables SCIM for the authenticated tenant administrator and returns a new bearer token and SCIM base URL. The plaintext token is shown only in this response; the stored value is a hash.

Authenticate with a portal session token.

Responses

200 SCIM enabled and bearer token issued once.

application/json object

  • note string required
  • scim_base_url string (uri) required
  • scim_token string required
    Write only

Generated sample

{
  "note": "string",
  "scim_base_url": "https://example.com",
  "scim_token": "string"
}
401 Missing or invalid bearer token.

application/json object

Any keys are accepted.

403 Authenticated caller lacks the required permission, ability, or role.

application/json object

Any keys are accepted.

429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string