POST Revoke OAuth Client Token
Retires an access token before it expires. Uses the same HTTP Basic client credentials as POST /oauth/tokens.
The body is form-encoded and requires access_token.
Headers
- Type: stringBasic
Authorization requiredO_AUTH_CLIENT_ID and OAUTH_SECRET
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringX
- Request - I D requiredUnique request identifier
Body
required
application/json
Responses
- 200
The token was revoked.
- 401
The client credentials are invalid.
Request Example for post/oauth/tokens/revoke
curl https://api-public-demo.menu.app/api/oauth/tokens/revoke \
--request POST \
--header 'Basic Authorization: Authorization: Basic e3tPQVVUSF9DTElFTlRfSUR9fTp7e09BVVRIX1NFQ1JFVH19' \
--header 'Application: application-key' \
--header 'API-VERSION: ' \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'access_token=0ca417cf6f3a90488ffee32c3acb6fcd'
No Body
