IGmailClientAsync.DeleteAccessRuleAsync

IGmailClientAsync.DeleteAccessRuleAsync method

Asynchronously deletes an access control rule from a calendar.

public Task DeleteAccessRuleAsync(string calendarId, string roleId, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe ID of the calendar.
roleIdStringThe ID of the access control rule.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task representing the asynchronous operation.

See Also