orgs

Remove all organization roles for a team

Removes all assigned organization roles from a team. For more information on organization roles, see "Using organization roles."

The authenticated user must be an administrator for the organization to use this endpoint.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

delete/orgs/{org}/organization-roles/teams/{team_slug}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/organization-roles/teams/{team_slug}
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

team_slugstring required

The slug of the team name.

Response

Response

Changes

No recorded changes to this operation across all 23 revisions of this API.