Provision a New Team

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

Create a new team bound to an organization via a SCIM Groups POST Request. The slug will have a normalization of uppercases/spaces to lowercases and dashes.

Note that teams are always created with an empty member set.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the resource belongs to.

Body Parameters

displayName (string)
REQUIRED

The slug of the team that is shown in the UI.

Scopes

<auth_token> requires one of the following scopes:
  • team:admin
  • team:write
curl https://sentry.io/api/0/organizations/{organization_slug}/scim/v2/Groups \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: application/json' \
 -d '{}'
RESPONSESCHEMA
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "displayName": "Test SCIMv2",
  "members": [],
  "meta": {
    "resourceType": "Group"
  },
  "id": "123"
}