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 API Product for a Key for a Developer App

Resource Summary

Security

Content Type

application/octet-stream

Category

Developer App Keys,

approveApiProductofSpecificKeyOfDeveloperApp

POST

Approve or Revoke API Product for a Key for a Developer App

Sets the association of an app's consumer key with an API product to 'approved' or 'revoked'. The API product must already be associated with the app.

You can approve a consumer key that is currently revoked or pending for the API product. You can also reapprove a revoked key.

To consume API resources defined in an API product, an app's consumer key must be approved and it must also be approved for that specific API product.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/developers/{developer_email_or_id}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name}

Query Parameters

Name Values Description
action
(required)

Set action to approve or revoke.

Header Parameters

Name Values Description
Content-Type
(required)

Specify the 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 app name true

apiproduct_name Mention the API Product name 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?