Provision a New Organization Member

POST /api/0/organizations/{organization_slug}/scim/v2/Users

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.
  • sentryOrgRole can only be admin, manager, billing, or member.
  • Sentry's SCIM API doesn't currently support setting users to inactive, and the member will be deleted if active is set to false.
  • The API also does not support setting secondary emails.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the resource belongs to.

Scopes

<auth_token> requires one of the following scopes:
  • member:admin
  • member:write
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"
  },
  "sentryOrgRole": "member"
}