Developer Community
Help with Revoke Token endpoint
about 1 year ago by null(edited)
Hi, I'm trying to call the revoke token endpoint (on sandbox environment) but I'm always receiving unauthorized client. I've used the other endpoints (get token, refresh token) and both worked fine.
Here's some details about the request/response:
{
"success": false,
"elapsed": 409,
"request": {
"method": "post",
"url": "https://sandbox-permission.api.ddp.akoya.com/token/revoke",
"data": {
"client_id": "<omitted>",
"client_secret": "<omitted>",
"token_type_hint": "refresh_token",
"token": "[REDACTED]"
},
"length": 207
},
"response": {
"status": 401,
"statusText": "Unauthorized",
"data": {
"error": "unauthorized_client"
}
},
"responseHeaders": {
"x-akoya-interaction-id": "Root=1-65134244-31f57f674b41d6e423376d28"
}
}