Skip to content
Sign in Create account

Replace SCIM user

PUT /api/scim/v2/Users/{id}

Replaces supported SCIM User fields for a user in the organization bound to the SCIM bearer token. userName is required; missing/out-of-scope users return 404 and invalid fields return 422.

Authenticate with a SCIM token.

Parameters

  • id integer path required

Request body

application/scim+json object

  • active boolean
  • billing_country string
    Length: 2 to 2 characters. Pattern: ^[A-Za-z]{2}$
  • billing_currency string
    Length: 3 to 3 characters. Pattern: ^[A-Za-z]{3}$
  • billing_vat_id string
    Length: at most 32 characters
  • name object
    • familyName string
      Length: at most 128 characters
    • formatted string
      Length: at most 255 characters
    • givenName string
      Length: at most 128 characters
  • userName string (email) required

Generated sample

{
  "active": true,
  "billing_country": "string",
  "billing_currency": "string",
  "billing_vat_id": "string",
  "name": {
    "familyName": "string",
    "formatted": "string",
    "givenName": "string"
  },
  "userName": "user@example.com"
}

Responses

200 SCIM User replaced.

application/json ScimUserResource

  • active boolean required
  • emails array of object required

    Each item:

    • primary boolean required
      Value: true
    • value string (email) required
  • id string required
  • meta object required
    • created string (date-time) or null required
    • lastModified string (date-time) or null required
    • location string (uri) required
    • resourceType string required
      Value: "User"
  • name object required
    • formatted string required
  • schemas array of string required
  • userName string (email) required

Generated sample

{
  "active": true,
  "emails": [
    {
      "primary": true,
      "value": "user@example.com"
    }
  ],
  "id": "string",
  "meta": {
    "created": "2026-01-01T00:00:00Z",
    "lastModified": "2026-01-01T00:00:00Z",
    "location": "https://example.com",
    "resourceType": "User"
  },
  "name": {
    "formatted": "string"
  },
  "schemas": [
    "string"
  ],
  "userName": "user@example.com"
}
401 Missing or invalid SCIM bearer credentials.

application/json object

Any keys are accepted.

403 The SCIM integration is not configured.

application/json object

Any keys are accepted.

404 User was not found in the token's tenant.

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.

409 Error response.

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.

422 Validation error.

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.

429 Error response.

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