Was this helpful?

 

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

API Resource Path:

/companies/{company_name}/apps/{app_name}/keys/{consumer_key}?action=approve

Description: Changes the state of a consumer key provisioned to a company app to 'Approved'

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}/companies/{company_name}/apps/{app_name}/keys/{consumer_key}?"action=approve" \
-u myname:mypass
Sample Response:
Success 204 with no response
Errors:
{
  "code" : "keymanagement.service.InvalidClientIdForGivenApp",
  "message" : "Invalid consumer key for Given App",
  "contexts" : [ ]
}

 

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?)