Enterprise

SCIM 2.0: Replace user account

put/scim/v2/Users/{id}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /scim/v2/Users/{id}
  • Auth
    API key in header Authorization

Path parameters

idstring uuid required

User ID

Request body

activeboolean

Active is a ptr to prevent the empty value from being interpreted as false.

idstring
schemasstring[]
userNamestring

Response

OK

avatar_urlstring uri
created_atstring date-time required
emailstring email required
has_ai_seatboolean

HasAISeat intentionally omits omitempty so the API always includes the field, even when false.

idstring uuid required
is_service_accountboolean
last_seen_atstring date-time
login_type'' | 'password' | 'github' | 'oidc' | 'token' | 'none'
namestring
organization_idsstring[]
status'active' | 'dormant' | 'suspended'
theme_preferencestring

Deprecated: this value should be retrieved from codersdk.UserPreferenceSettings instead.

updated_atstring date-time
usernamestring required

Changes

No recorded changes to this operation across all 308 revisions of this API.