How to Revoke an OAuth Token


 

How to Revoke an OAuth or Refresh Token

Revokes the specified oauth2 access token or refresh token, as well as the associated access/refresh token.

Request Parameters

Parameter Description Required? Data Type

token

Retrieved from the /oauth/token API call.

Yes

String

refresh_token

Retrieved from the /oauth/token API call.

Yes (only if access token not passed)

String

client_id

Provided to users of the API.

Yes

String

client_secret

Provided to users of the API by SEI.

Yes

String
 

Response Payload

{

     "message": "the passed token and associated refresh/access token have been revoked",
     "token": "<token>",
     "cascade": "true"

}
Parameter Description Data Type

ErrorCode

Error code for OAuth.

String

Error

Error description for OAuth.

String

Hint

Hint for the error.

String