Revoke OAuth token
Revokes an access or refresh token and the login it belongs to (RFC 7009); other logins of the user stay valid. Client authentication works as for the token endpoint. Unknown, expired and already revoked tokens also return 200. A token issued to another client is rejected with 400 invalid_grant.
POST
/v1/hq/oauth/revoketoken*string
The access token or refresh token to revoke.
Example
"noat_7awdXwZoedakjad37a"client_id?string
client_secret?string
Response Body
application/json
application/json
application/json
curl -X POST "https://api.noona.is/v1/hq/oauth/revoke" \ -H "Content-Type: application/json" \ -d '{ "token": "noat_7awdXwZoedakjad37a" }'Empty
{
"message": "Customer onboarding error."
}{
"error": "invalid_request"
}{
"message": "Customer onboarding error."
}Empty