Create a new user

POST /Users

Creates a new user with the provided SCIM attributes

application/scim+json

Body Required

Responses

  • 201 application/scim+json

    User created successfully

  • Invalid request (malformed JSON, missing required fields, etc.)

  • Resource already exists

POST /Users
curl \
 -X POST https://setup.adra.com/api/organizations/{organizationSid}/scim/Users \
 -H "Content-Type: application/scim+json"
Request example
{
  "meta": {
    "resourceType": "User"
  },
  "name": {
    "givenName": "Danial",
    "familyName": "Thompson"
  },
  "active": false,
  "emails": [
    {
      "type": "work",
      "value": "Test_User_today@testuser.com",
      "primary": true
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "userName": "Athena_Rau@yahoo.com",
  "externalId": "1b252114-6161-4597-8595-583537951881"
}
Response examples (201)
{
  "id": "beb76ae3-0909-47eb-b77d-3b944e7b1358",
  "meta": {
    "resourceType": "User"
  },
  "name": {
    "givenName": "Danial",
    "familyName": "Thompson"
  },
  "active": false,
  "emails": [
    {
      "type": "work",
      "value": "Test_User_today@testuser.com",
      "primary": true
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "userName": "Athena_Rau@yahoo.com",
  "externalId": "1b252114-6161-4597-8595-583537951881"
}