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.

Authorization

Authorization
Authorization*string

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

Path parameters

key_uuid*string

Request body

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

application/jsonRequired
name?string | null
Range1 ≤ length ≤ 100
permission?string | null
Value in"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)

Rangeitems ≤ 20
bypass_governance?boolean | null

read_write keys only: may delete objects under governance retention

Responses

Successful Response

application/json

detail*string