delete-bucket-lifecycle

Prev Next

The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

Available in Classic and VPC

Delete all lifecycle rules registered in a Ncloud Storage bucket.

Note

For a Sub Account user to execute this command, they must have the Change/PutLifecycleConfiguration action permission.

Syntax

The delete-bucket-lifecycle syntax is as follows:

aws s3api delete-bucket-lifecycle \
    --bucket <bucket> \
    --endpoint-url <endpoint-url>

Options

This section describes the options available when running delete-bucket-lifecycle.

Required options

The following options are required for delete-bucket-lifecycle.

Options Type Required Description
--bucket String Required Bucket name

Common options

For information about the options common to all aws subcommands, see Ncloud Storage options.

Examples

If the request to delete a lifecycle rule is successful, the rule is deleted, and no result is displayed.

Command

The command example is as follows:

aws s3api delete-bucket-lifecycle --bucket my-test-bucket \
    --endpoint-url=https://kr.ncloudstorage.com

Related commands

Related commands are as follows: