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: Removes an API product from a developer app key profile, and thereby renders the developer app unable to access the URIs defined in the API product specified.

Verb: DELETE
Auth: Basic Auth
Media types:
application/json
text/xml

Overview:

The method returns the profile of the consumer key that has been deleted from the API product association. This enables you to validate that the proper key was deleted.

Note that the consumer key itself still exists after this call made. Only the association of the key with the API product is removed.

Sample Request:
$ curl -X DELETE \
https://api.enterprise.apigee.com/v1/o/{org_name}/developers/{developer_email}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name}  \
-u myname:mypass 
Sample Response:
{
  "apiProducts" : [ 
 {
    "apiproduct" : "silverprofile",
    "status" : "approved"
  } ],
  "attributes" : [ {
    "name" : "region",
    "value" : "south"
  }, {
    "name" : "country",
    "value" : "norway"
  } ],
  "consumerKey" : "0F2S7iCWcQ4mDQVGXwS5tgPGWnNxo0q",
  "consumerSecret" : "CciaOUKFPXVBIGk",
  "status" : "approved"
}

 

コメントを追加

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.