Delete a team
DELETE
/orgs/{org}/teams/{team_slug}
To delete a team, the authenticated user must be an organization owner or team maintainer.
If you are an organization owner, deleting a parent team will delete all of its child teams as well.
[!NOTE] You can also specify a team by
org_idandteam_idusing the routeDELETE /organizations/{org_id}/team/{team_id}.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” org
required
string
The organization name. The name is not case sensitive.
team_slug
required
string
The slug of the team name.
Responses
Section titled “ Responses ”Response
Unprocessable entity if you attempt to modify an enterprise team at the organization level.