Was this helpful?

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

API Resource Path:

/oauth1/requesttokens/{request_token}?action=approve

Description: Approves an OAuth 1.0a request token

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/o/{org_name}/oauth1/requesttokens/{request_token}?"action=approve" \
-u myname:mypass
Sample Response:
Success 200 with proper response
Errors
Failure 404 with proper error message
{
  "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_approve_failed

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.