Buckets
Update a bucket
PATCH
/v1/workspaces/{workspaceId}/buckets/{bucketId}Changes the permission, availability, or policy of a bucket. A missing field keeps its value. Role: editor or higher.
Authentication
Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.
Authorization: Bearer <GRAPHON_API_KEY>Path parameters
workspaceIdstring
The workspace id.
bucketIdstring
The bucket id.
Request body
permissionstring (optional)
Who can read objects: private, or public-read for anonymous GET and HEAD. One of: private, public-read.
availabilitystring (optional)
An offline bucket rejects reads and writes. One of: online, offline.
policyobject (optional)
Bucket policy settings, such as versioning and retention.