Share via


ProductApiOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified API from the specified product.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.ApiManagement.IProductApiOperations operations, string resourceGroupName, string serviceName, string productId, string apiId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ApiManagement.IProductApiOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IProductApiOperations, resourceGroupName As String, serviceName As String, productId As String, apiId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IProductApiOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

productId
String

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

apiId
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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to