Skip to main content

vserver object-store-server bucket lifecycle-management-rule delete

Contributors
Suggest changes

Delete a Lifecycle Management rule

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver object-store-server bucket lifecycle-management-rule delete command deletes a lifecycle management rule for the object store server bucket.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the name of the Vserver on which the bucket lifecycle management rule needs to be deleted for the object store server bucket.

-bucket <TextNoCase> - Object Store Server Bucket Name

This parameter specifies the name of the object store server bucket for which the lifecycle management rule needs to be deleted. The object store server bucket must already exist.

-rule-id <text> - Lifecycle Management Rule Identifier

This parameter specifies the rule identifier of the lifecycle management rule to be deleted from the object store server bucket.

-index <integer> - Lifecycle Management Rule Index

This parameter specifies the index of the lifecycle management rule to be deleted from the object store server bucket.

[-force <true>] - Ignore Errors

If this parameter is specified and set to true, the user is not prompted to confirm each deletion operation. In addition, several potential errors are ignored. By default, this setting is true .

Examples

The following example deletes an object store server bucket lifecycle management rule for Vserver vs1 and bucket1.

cluster1::> vserver object-store-server bucket lifecycle-management-rule delete -vserver vs1 -bucket bucket1 -rule-id rule1 -index 1"