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.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

bucket_uuid*string

Cuerpo de la petición

Change versioning, deletion protection or tags.

application/jsonObligatorio
versioning?string | null
Valores"off""enabled""suspended"
protected?boolean | null
tags?record<string, string> | null

Replaces every label; {} removes them all

Respuestas

Successful Response

application/json

detail*string