cURL
curl --request DELETE \ --url https://api.planetscale.com/v1/organizations/{organization}/teams/{team} \ --header 'Authorization: <api-key>'
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses write_teams
write_teams
OAuth Scopes
write_organization
The name of the organization
The slug of the team
Team deleted successfully. Note: SSO-managed teams cannot be deleted.
Was this page helpful?