Skip to main content
DELETE
/
organizations
/
{organization}
/
oauth-applications
/
{application_id}
/
tokens
/
{token_id}
Delete an OAuth token
curl --request DELETE \
  --url https://api.planetscale.com/v1/organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id} \
  --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 the OAuth application belongs to

application_id
string
required

The ID of the OAuth application

token_id
string
required

The ID of the OAuth application token

Response

Deletes an OAuth application's OAuth token