Share via


RecoveryServicesVaultResource.DeleteRegisteredIdentity Method

Definition

Unregisters the given container from your Recovery Services vault.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/registeredIdentities/{identityName}
  • Operation Id: RegisteredIdentities_Delete
  • Default Api Version: 2023-04-01
public virtual Azure.Response DeleteRegisteredIdentity (string identityName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteRegisteredIdentity : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteRegisteredIdentity : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteRegisteredIdentity (identityName As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

identityName
String

Name of the protection container to unregister.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

identityName is an empty string, and was expected to be non-empty.

identityName is null.

Applies to