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"
}

 

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)