--- title: "delete-bucket-lifecycle" slug: "delete-bucket-lifecycle" updated: 2026-10-08T09:48:19Z published: 2026-10-08T09:48:19Z canonical: "cli.ncloud-docs.com/delete-bucket-lifecycle" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # delete-bucket-lifecycle Classic/VPC環境で利用できます。 Ncloud Storageバケットに登録したすべてのライフサイクルルールを削除します。 参考 Sub Accountユーザーがこのコマンドを実行するには、Change/PutLifecycleConfigurationアクションの権限が必要です。 ## 構文 `delete-bucket-lifecycle`構文は次の通りです。 ``` aws s3api delete-bucket-lifecycle \ --bucket \ --endpoint-url ``` ## オプション `delete-bucket-lifecycle`の実行時に指定できるオプションについて説明します。 ### 必須オプション `delete-bucket-lifecycle`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--bucket` | String | Required | バケット名 | ### 共通オプション `aws`コマンドで共通して使用するオプションについては、[Ncloud Storageのオプション](/docs/ja/storage-ncloudstorage#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 ライフサイクルルールの削除リクエストが成功すると、ルールが削除され、結果は出力されません。 ### コマンド コマンドの例は次の通りです。 ``` aws s3api delete-bucket-lifecycle --bucket my-test-bucket \ --endpoint-url=https://kr.ncloudstorage.com ``` ## 関連コマンド 関連コマンドは次の通りです。 - [get-bucket-lifecycle-configuration](/docs/ja/get-bucket-lifecycle-configuration) - [put-bucket-lifecycle-configuration](/docs/ja/put-bucket-lifecycle-configuration)