cURL
curl --request POST \ --url https://public.api.collectpure.com/v1/oauth/revoke \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "token": "<string>", "public_key": "<string>", "secret_key": "<string>" } '
{ "status": "success" }
Revoke (logout) an access token or refresh token
API key for authentication
The access token or refresh token to revoke
The public key (client ID) for the OAuth application
The secret key (client secret) for the OAuth application
Default Response
Status of the revocation request
success