--- title: "put-bucket-versioning" slug: "put-bucket-versioning" updated: 2026-10-08T05:00:43Z published: 2026-10-08T05:00:43Z canonical: "cli.ncloud-docs.com/put-bucket-versioning" --- > ## 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. # put-bucket-versioning Available in Classic and VPC Change the version control status of a Ncloud Storage bucket. Note For a Sub Account user to execute this command, they must have the Change/PutBucketVersioning action permission. ## Syntax The `put-bucket-versioning` syntax is as follows: ``` aws s3api put-bucket-versioning \ --bucket \ --versioning-configuration \ --endpoint-url ``` ## Options This section describes the options available when running `put-bucket-versioning`. ### Required options The following options are required for `put-bucket-versioning`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--bucket` | String | Required | Bucket name | | `--versioning-configuration` | String | Required | Versioning status - `Enabled` \| `Suspended` - `Enabled`: Enable versioning - `Suspended`: Suspend versioning | ### Common options For information about the options common to all `aws` subcommands, see [Ncloud Storage options](/docs/en/storage-ncloudstorage#%EC%98%B5%EC%85%98). ## Examples If the version control configuration request is successful, the settings are applied, and no result is displayed. ### Command The command example is as follows: ``` aws s3api put-bucket-versioning --bucket my-test-bucket \ --versioning-configuration Status=Enabled \ --endpoint-url=https://kr.ncloudstorage.com ``` ## Related commands Related commands are as follows: - [create-bucket](/docs/en/create-bucket) - [delete-bucket](/docs/en/delete-bucket) - [get-bucket-versioning](/docs/en/get-bucket-versioning)