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 Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organization_slugs
required
Organization slug to unassign the team from.
Array<string>
Examples
Exampledefault
{ "organization_slugs": [ "github" ]}Responses
Section titled “Responses”Successfully unassigned the enterprise team from organizations.