InternetDataInternetData

Revoke

POST
/oauth/revoke

RFC 7009. Always answers 200, including for a token that was never valid - an endpoint that distinguished the two would be a way to test whether a stolen string is a live credential.

Revoking a REFRESH token ends the whole authorization and takes its access tokens with it. Revoking an access token affects only that token.

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://internetdata.io/oauth/revoke" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'token=string'
{}