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

Authorizations

Authorization
string
header
required

Path Parameters

organization_name
string
required

The name of the organization

team_slug
string
required

The slug of the team

Response

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