—Rate this article—
 

Revoke a Request Token

API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path: /oauth1/requesttokens/{request_token}?action=revoke

Verb: POST

Auth: Basic Auth

Media types:

application/octet-stream

Sample Request:
$ curl -H "Content-type: application/octet-stream" -X POST \ https://api.enterprise.apigee.com/v1/organizations/{org_name}/oauth1/requesttokens/{request_token}?"action=revoke" \ -u myname:mypass
Sample Response:
Success 200 with proper response
Errors
{
  "code" : "keymanagement.service......",
  "message" : "Request Token doesnot exist",
  "contexts" : [ ]
}

Error Code:
1. keymanagement.service.oauth10_request_token_doesnot_exist
3. keymanagement.service.application_not_approved
4. keymanagement.service.oauth10_request_token_revoke_failed

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)