Was this helpful?

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

API Resource Path: /oauth1/requesttokens/{request_token}

Deletes the request token specified

Verb: DELETE

Auth: Basic Auth

Sample Request:
$ curl -u myname:mypass https://api.enterprise.apigee.com/v1/o/{org_name}/oauth1/request_tokens/{request_token} -X DELETE
Sample Response:
{
  "app" : "myApp",
  "attributes" : [ {
    "name" : "region",
    "value" : "north"
  } ],
  "callbackUrl" : "api.company.com",
  "consumerKey" : "Lmupmwb5mD6CAEl6vqii1kojTGMiCnWj",
  "createdAt" : 1343034561737,
  "createdBy" : "Admin",
  "expiresAt" : 1343036361737,
  "issuedAt" : 1343034561737,
  "lastModifiedAt" : 1343034561817,
  "lastModifiedBy" : "Admin",
  "scope" : "global",
  "secret" : "kSdnf7pBZADjxg5qfMkHhDVTumR5",
  "status" : "approved",
  "token" : "1wXHJFNXLA0Haeg4lVMToZWJHaFM"
}
Errors
{
  "code" : "keymanagement.service......",
  "message" : "Request Token doesnot exist",
  "contexts" : [ ]
}

Error Code:
1. keymanagement.service.oauth10_request_token_doesnot_exist
2. keymanagement.service.oauth10_request_token_deletion_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?)