Udostępnij za pośrednictwem


OAuth2PermissionGrantOperationsExtensions.DeleteAsync Method

Definition

Delete a OAuth2 permission grant for the relevant resource Ids of an app.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IOAuth2PermissionGrantOperations operations, string objectId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IOAuth2PermissionGrantOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IOAuth2PermissionGrantOperations, objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IOAuth2PermissionGrantOperations

The operations group for this extension method.

objectId
String

The object ID of a permission grant.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to