Method: organizations.apiproducts.delete

Deletes an API product from an organization. Deleting an API product will cause app requests to the resource URIs defined in the API product to fail. Ensure that you create a new API product to serve existing apps, unless your intention is to disable access to the resources defined in the API product. The API product name required in the request URL is not the "Display Name" value displayed for the API product in the Edge UI. While they may be the same, they are not always the same depending on whether the API product was created via UI or API. For this reason, be sure to get the exact API product name by performing a GET request to the List API Products endpoint. Use the "name" value returned in the response as the API product name in the request URL.

HTTP request

DELETE https://apigee.googleapis.com/v1/{name=organizations/*/apiproducts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. API product name of the form: organizations/{organizationId}/apiproducts/{api_product_name}

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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