Skip to main content
DELETE
/
organizations
/
{organization}
/
teams
/
{team}
Delete an organization team
curl --request DELETE \
  --url https://api.planetscale.com/v1/organizations/{organization}/teams/{team} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organization
string
required

The name of the organization

team
string
required

The slug of the team

Response

Team deleted successfully. Note: SSO-managed teams cannot be deleted.