Update a Team's Attributes
Update a team's attributes with a SCIM Group PATCH Request. Valid Operations are:
- Renaming a team:
Copied
{
"op": "replace",
"value": {
"id": 23,
"displayName": "newName"
}
}
- Adding a member to a team:
Copied
{
"op": "add",
"path": "members",
"value": [
{
"value": 23,
"display": "testexample@example.com"
}
]
}
- Removing a member from a team:
Copied
{
"op": "remove",
"path": "members[value eq \"23\"]"
}
- Replacing an entire member set of a team:
Copied
{
"op": "replace",
"path": "members",
"value": [
{
"value": 23,
"display": "testexample2@sentry.io"
},
{
"value": 24,
"display": "testexample3@sentry.io"
}
]
}
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization.
team_id
(integer)REQUIREDThe id of the team you'd like to query.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:team:write
PATCH /api/0/organizations/{organization_slug}/scim/v2/Groups/{team_id}
curl https://sentry.io/api/0/organizations/{organization_slug}/scim/v2/Groups/{team_id} \ -H 'Authorization: Bearer <auth_token>' \ -H 'Content-Type: application/json'
RESPONSE
Success.