Provision a New Organization Member

Create a new Organization Member via a SCIM Users POST Request. userName should be set to the SAML field used for email, and active should be set to true. Sentry's SCIM API doesn't currently support setting users to inactive and the member will be deleted if inactive is set to false. The API also does not support setting secondary emails.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization.

Scopes

<auth_token> requires the following scopes:
  • member:write
POST /api/0/organizations/{organization_slug}/scim/v2/Users
curl https://sentry.io/api/0/organizations/{organization_slug}/scim/v2/Users \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: application/json'
RESPONSESCHEMA
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "id": "242",
  "userName": "test.user@okta.local",
  "emails": [
    {
      "primary": true,
      "value": "test.user@okta.local",
      "type": "work"
    }
  ],
  "active": true,
  "name": {
    "familyName": "N/A",
    "givenName": "N/A"
  },
  "meta": {
    "resourceType": "User"
  }
}