Send Docs Feedback

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

POST

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

/organizations/{org_name}/developers/{developer_email_or_id}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name}

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.

Help or comments?