Apis.deleteWithResponse(String resourceGroupName, String serviceName, String apiId, String ifMatch, Boolean deleteRevisions, Context context) Method

Definition

Deletes the specified API of the API Management service instance.

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String serviceName, String apiId, String ifMatch, Boolean deleteRevisions, Context context)

Parameters

resourceGroupName
java.lang.String

The name of the resource group.

serviceName
java.lang.String

The name of the API Management service.

apiId
java.lang.String

API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

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.

deleteRevisions
java.lang.Boolean

Delete all revisions of the Api.

context
Context

The context to associate with this operation.

Returns

Response<java.lang.Void>

the response.

Applies to