Search + K

Command Palette

Search for a command to run...

Sign In

Delete a team

DELETE /orgs/{org}/teams/{team_slug}
Copy endpoint
https://api.github.com

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_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}.

Parameters

path Path Parameters

Name Type
org required

The organization name. The name is not case sensitive.

string
team_slug required

The slug of the team name.

string

Responses

204

Response

unknown