Remove token

POST https://www.arcgis.com/sharing/rest/oauth2/revokeToken?f=json&auth_token={{access_token}}&client_id={{client_id}}

Request Params

KeyDatatypeRequiredDescription
fstring(Required) Format of the response: json
auth_tokenstring(Required) The access token or refresh token to revoke.
client_idstring(Required) The ID of the registered application that was used to generate the token to be revoked. An application can only revoke its own tokens; if the client id does not match the one from which the token was generated, the token will not be revoked.
token_type_hintstringaccess_token

RESPONSES

status: OK

{"error":{"code":400,"message":"Invalid client_id","details":[]}}