Replace user attributes

PUT /Users/{identifier}

Replace all user attributes with the provided values

Path parameters

  • identifier string Required

    Identifier of the user to replace

application/json

Body Required

  • enterpriseExtension object | null

    Additional properties are NOT allowed.

    Hide enterpriseExtension attribute Show enterpriseExtension attribute object | null
    • employeeNumber string | null
  • active boolean
  • electronicMailAddresses array[object]
    Hide electronicMailAddresses attributes Show electronicMailAddresses attributes object
    • value string | null
    • itemType string | null
    • primary boolean
  • locale string | null
  • meta object | null

    Additional properties are NOT allowed.

    Hide meta attribute Show meta attribute object | null
    • resourceType string | null
  • name object

    Additional properties are NOT allowed.

    Hide name attributes Show name attributes object
    • familyName string
    • givenName string
  • preferredLanguage string | null
  • timeZone string | null
  • title string | null
  • userName string
  • externalId string | null
  • schemas array[string] | null

Responses

  • 200 application/scim+json

    OK

    Hide response attributes Show response attributes object
    • enterpriseExtension object | null

      Additional properties are NOT allowed.

      Hide enterpriseExtension attribute Show enterpriseExtension attribute object | null
      • employeeNumber string | null
    • active boolean
    • electronicMailAddresses array[object]
      Hide electronicMailAddresses attributes Show electronicMailAddresses attributes object
      • value string | null
      • itemType string | null
      • primary boolean
    • locale string | null
    • meta object | null

      Additional properties are NOT allowed.

      Hide meta attribute Show meta attribute object | null
      • resourceType string | null
    • name object

      Additional properties are NOT allowed.

      Hide name attributes Show name attributes object
      • familyName string
      • givenName string
    • preferredLanguage string | null
    • timeZone string | null
    • title string | null
    • userName string
    • externalId string | null
    • schemas array[string] | null
  • 400 application/scim+json

    Bad Request

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 401 application/scim+json

    Unauthorized

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 403 application/scim+json

    Forbidden

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 404

    User not found

  • 500 application/scim+json

    Internal Server Error

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 501 application/scim+json

    Not Implemented

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
PUT /Users/{identifier}
curl \
 --request PUT 'https://setup.adra.com/api/organizations/{organizationSid}/scim/Users/{identifier}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":{"givenName":"John","familyName":"Smith"},"title":"Senior Software Engineer","active":true,"emails":[{"type":"work","value":"jsmith@example.com","primary":true}],"schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"timezone":"America/Denver","userName":"jsmith@example.com","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"employeeNumber":"0603"}}'
Request example
{
  "name": {
    "givenName": "John",
    "familyName": "Smith"
  },
  "title": "Senior Software Engineer",
  "active": true,
  "emails": [
    {
      "type": "work",
      "value": "jsmith@example.com",
      "primary": true
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
  ],
  "timezone": "America/Denver",
  "userName": "jsmith@example.com",
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "employeeNumber": "0603"
  }
}
Response examples (200)
{
  "enterpriseExtension": {
    "employeeNumber": "string"
  },
  "active": true,
  "electronicMailAddresses": [
    {
      "value": "string",
      "itemType": "string",
      "primary": true
    }
  ],
  "locale": "string",
  "meta": {
    "resourceType": "string"
  },
  "name": {
    "familyName": "string",
    "givenName": "string"
  },
  "preferredLanguage": "string",
  "timeZone": "string",
  "title": "string",
  "userName": "string",
  "externalId": "string",
  "schemas": [
    "string"
  ]
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (401)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (403)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (500)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (501)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}