OptionalbodyOptionallabel?: stringThe label for the Object Storage key. Used for display purposes. Omit this to leave the label unchanged.
Optionalregions?: string[]Replace the current list of regions set in a specific key. Include an existing region to keep it, or leave it out to remove it. Omit the regions array to leave the existing list unchanged. If you include new regions in the key, you can't immediately use the key to manage content in buckets in those regions. You need to grant these keys this access using bucket policies.
🚧 Limited keys have restrictions
These points apply to keys you've created using the
bucket_accessarray:
You can't remove a
regionfrom a limited key's originalbucket_accesslist. If you include theregionsarray in this operation and target a limited key, you need to include all existingregionentries from thebucket_accessarray. Otherwise, the operation fails with an error. Run Get an Object Storage key to review currentregionentries in a limited key.If you need to remove a specific region from an active limited key, you can revoke the key and create a new Object Storage key, without the specific region.
The key to look up.
Optionalquery
The fields to update.