ProductsClientImpl.deleteWithResponse(String resourceGroupName, String serviceName, String productId, String ifMatch, Boolean deleteSubscriptions, Context context) Method

Definition

Delete product.

public Response<Void> deleteWithResponse(String resourceGroupName, String serviceName, String productId, String ifMatch, Boolean deleteSubscriptions, Context context)

Parameters

resourceGroupName
java.lang.String

The name of the resource group.

serviceName
java.lang.String

The name of the API Management service.

productId
java.lang.String

Product identifier. Must be unique in the current API Management service instance.

ifMatch
java.lang.String

ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

deleteSubscriptions
java.lang.Boolean

Delete existing subscriptions associated with the product or not.

context
Context

The context to associate with this operation.

Returns

Response<java.lang.Void>

the response.

Applies to