https://sandbox-idp.ddp.akoya.com/revoke
This request revokes tokens granted on behalf of the end-user.
Security: Include your client_id and client_secret in the body of the request. Remove any information from "Basic Auth" (username and password) in Try it.
client_id*
string
Client ID
Example: Client ID
client_secret*
string
Client secret
Example: CLIENT_SECRET
token*
string
Refresh token
Example: REFRESH_TOKEN
token_type_hint*
string
refresh_token
Accepts `refresh_token`
Example: refresh_token
200
OK
Response
Response Body
400
Bad Request
Response Body
error
string
error
error_description
string
error_description
401
Unauthorized
Response Body
error
string
error
error_description
string
error_description
const options = {
"method": "POST",
"headers": {
"accept": "application/x-www-form-urlencoded",
"content-type": "application/x-www-form-urlencoded"
},
"body": new URLSearchParams({
"client_id": "",
"client_secret": "",
"token": "",
"token_type_hint": "refresh_token"
})
}};
fetch('https://sandbox-idp.ddp.akoya.com/revoke', options)
.then(response => response.json())
.catch(err => console.error(err));