Send Docs Feedback

Approve a Request Token

API Platform Base Path:{org_name}

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

Approves an OAuth 1.0a Request Token

Verb: POST

Auth: Basic Auth

Sample Request:
$ curl -H "Content-type:application/x-www-form-urlencoded" -X POST \{org_name}/oauth1/requesttokens/{request_token}?"action=approve" \ -u myname:mypass
Sample Response:
Success 200 with proper response
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

Help or comments?