Snapservice. Clusters. Protection Groups Delete$ Task
Delete the specified protection group. Default bahaviour:
This operation was added in vSphere API 8.0.3.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- The resource
ClusterComputeResource
referenced by the parameter cluster requiresHost.Config.Storage
.
Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.
Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group
.
Specifies the additional parameters for the delete operation.
If missing or null
, protection group status is set to marked as deleted and will be be deleted permanently once all its associated snapshots are deleted.
Success!
Vapi.Std.Errors.NotAllowedInCurrentState If there is another operation in progress.
Vapi.Std.Errors.InvalidArgument If validation of the spec fails.
Vapi.Std.Errors.Unsupported If the specified protection group is locked.
"Vapi.Std.Errors.Error Object"
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If the caller is not authorized to perform the operation.
"Vapi.Std.Errors.Unauthorized Object"
If no cluster associated with cluster or protection group associated with pg is found in the system.
"Vapi.Std.Errors.NotFound Object"
If there is unknown internal error.
"Vapi.Std.Errors.Error Object"
If the service is not available.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/snapservice/clusters/{cluster}/protection-groups/{pg}?vmw-task=true