Remove organization assignments
POST
/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove
Unassign an enterprise team from multiple organizations.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” 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.
Request Body required
Section titled “ Request Body required ” Media type application/json
object
organization_slugs
required
Organization slug to unassign the team from.
Array<string>
Examples
Example default
{ "organization_slugs": [ "github" ]}Responses
Section titled “ Responses ”Successfully unassigned the enterprise team from organizations.