cURL
curl --request DELETE \ --url https://api.planetscale.com/v1/organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id} \ --header 'Authorization: <api-key>'
A service token must have at least one of the following access in order to use this API endpoint:
Service Token Accesses delete_oauth_tokens
delete_oauth_tokens
The name of the organization the OAuth application belongs to
The ID of the OAuth application
The ID of the OAuth application token