cURL
curl --request DELETE \ --url https://api.planetscale.com/v1/organizations/{organization}/service-tokens/{id} \ --header 'Authorization: <api-key>'
Delete a service token from the organization.
A service token must have at least one of the following access in order to use this API endpoint:
Service Token Accesses delete_service_tokens
delete_service_tokens