Method: organizations.developers.apps.keys.delete

Deletes a consumer key that belongs to an app, and removes all API products associated with the app. Once deleted, the consumer key cannot be used to access any APIs. Note: After you delete a consumer key, you may want to: 1. Create a new consumer key and secret for the developer app, and subsequently add an API product to the key. 2. Delete the developer app, if it is no longer required.

HTTP request

DELETE https://apigee.googleapis.com/v1/{name=organizations/*/developers/*/apps/*/keys/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Resource name of a developer app key organizations/{org}/developers/{developer}/apps/{app}/keys/{key}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DeveloperAppKey.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform