Was this helpful?

 

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

API Resource Path:

/developers/{developer_email}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name}

Description: Approves the association of a developer app's consumer key with an API product

Verb: POST
Auth: Basic Auth
Media types:
application/octet-stream

Overview: To consume API resources (URIs) defined in an API product, a consumer key must be approved and it must also be approved for a specific API product. The reason for this is that a consumer key may be used to access multiple API products.

Sample Request:
$ curl -H "Content-type:application/octet-stream" -X POST \
https://api.enterprise.apigee.com/v1/o/{org_name}/developers/{developer_email}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name}?"action=approve" \
-u myname:mypass
Sample Response:
Success 204 with no response

 

コメントを追加

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.