Delete a Team
DELETE /api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/
Schedules a team for deletion.
Note: Deletion happens asynchronously and therefore is not immediate. However once deletion has begun the state of a project changes and will be hidden from most public views.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe id or slug of the organization the team belongs to.
team_id_or_slug
(string)REQUIREDThe id or slug of the team to get.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:team:admin
curl https://sentry.io/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/ \ -H 'Authorization: Bearer <auth_token>' \ -X DELETE
RESPONSE
Success.