Send Docs Feedback

Making management API calls from this page

  1. In the URL, replace any values indicated by "{ }", 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 Specific Key of Developer App

Resource Summary

Security

Content Type

application/octet-stream

Category

Developer App Keys,

approveSpecificKeyOfDeveloperApp

POST

Approve or Revoke Specific Key of Developer App

Set the status of an app's consumer key to 'approved' or 'revoked'.

You can approve a consumer key that is currently revoked or pending. Once approved, the app can use the consumer key to access APIs. You can also use this call to reapprove a revoked key.

Revoking a consumer key renders it unusable for the app to use to access an API.

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}/developers/{developer_email_or_id}/apps/{app_name}/keys/{consumer_key}

Query Parameters

Name Values Description
action
(required)

Set the 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

developer_email_or_id Mention the developer email or ID 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?