Create a New Team
Create a new team bound to an organization. Only the name of the team is needed to create it, the slug can be auto generated.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the team should be created for.
Body Parameters
name
(string)REQUIREDThe name of the team.
slug
(string)The optional slug for this team. If not provided it will be auto generated from the name.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:team:write
POST /api/0/organizations/{organization_slug}/teams/
curl https://sentry.io/api/0/organizations/{organization_slug}/teams/ \ -H 'Authorization: Bearer <auth_token>' \ -H 'Content-Type: application/json' \ -d '{"name":"Ancient Gabelers","slug":"ancient-gabelers"}'
RESPONSESCHEMA
{
"memberCount": 0,
"name": "Ancient Gabelers",
"isMember": false,
"hasAccess": true,
"isPending": false,
"dateCreated": "2020-08-19T21:46:47.877073Z",
"id": "542610",
"avatar": {
"avatarUuid": null,
"avatarType": "letter_avatar"
},
"slug": "ancient-gabelers"
}