Skip to content

Remove organization assignments

POST
/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove

Unassign an enterprise team from multiple organizations.

API method documentation

enterprise
required
string

The slug version of the enterprise name.

enterprise-team
required
string

The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.

Media type application/json
object
organization_slugs
required

Organization slug to unassign the team from.

Array<string>
Examples
Example default
{
"organization_slugs": [
"github"
]
}

Successfully unassigned the enterprise team from organizations.