Object Storage

Update access key

patch/object-storage/keys/{key_uuid}

Rename an access key, switch it between read and write and read only, change the buckets it can reach (bucket_uuids: a list, or null for every bucket of its project in its tier, including future ones) or turn the governance bypass on or off. Only what you send is changed. Permission, buckets and bypass need an active key and apply within a few seconds. The expiration and the tier cannot be changed.

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

key_uuid*string

Cuerpo de la petición

Edit an access key. Only the fields you send change; the expiration and the tier cannot.

application/jsonObligatorio
name?string | null
Rango1 ≤ length ≤ 100
permission?string | null
Valores"read_write""read_only"
bucket_uuids?array<string> | null

Buckets the key is limited to; null for every bucket of its project (omit to keep them)

Rangoitems ≤ 20
bypass_governance?boolean | null

read_write keys only: may delete objects under governance retention

Respuestas

Successful Response

application/json

detail*string