Send Docs Feedback

Making management API calls from this page

  1. In the URL, replace any values enclosed in "{ }", such as your organization name.
  2. Set the Basic Authentication credentials: Edge email and password (user must be in the Org Admin role).
    If you don't have an Apigee account,
    go here.
  3. Tweak the parameters and request body as needed.
  4. Send the live request to Edge!

Approve or Revoke a Specific Key of Company App

Resource Summary

Security

Content Type

application/octet-stream

Category

Company App Keys,

approveKeyOfCompanyApp

POST

Approve or Revoke a Specific Key of Company App

Sets the state of a key associated with a company app to 'approved' or 'revoked'.

An app with an unapproved key cannot access any API products and cannot invoke any APIs managed by Apigee Edge.

Note: Any access tokens associated with a revoked app key will remain active, but Apigee Edge checks the status of the app key first. If the status is set to "revoked," Apigee Edge will not allow the call go through.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/companies/{company_name}/apps/{app_name}/keys/{consumer_key}

Query Parameters

Name Values Description
action
(required)

Set action to approve or revoke.

Header Parameters

Name Values Description
Content-Type
(required)

Specify content type as application/octet-stream.

Request Body

org_name Mention the organization name true

company_name Mention the company name true

app_name Mention the app name true

consumer_key Mention the consumer key true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?