Sample - GitHub REST API
POST/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove

Remove organization assignments

Unassign an enterprise team from multiple organizations.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters · 1 body field
enterprisestringrequired
The slug version of the enterprise name.
enterprise-teamstringrequired
The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.
organization_slugsarray<string>required
Organization slug to unassign the team from.

1 status code
204Successfully unassigned the enterprise team from organizations.