Object Storage

Update bucket

patch/object-storage/buckets/{bucket_uuid}

Turn versioning on or suspend it, enable or disable deletion protection, and replace the bucket's tags. Versioning cannot be turned off once enabled, only suspended.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

bucket_uuid*string

Request body

Change versioning, deletion protection or tags.

application/jsonRequired
versioning?string | null
Value in"off""enabled""suspended"
protected?boolean | null
tags?record<string, string> | null

Replaces every label; {} removes them all

Responses

Successful Response

application/json

detail*string