Skip to main content

Update object storage bucket

PATCH 

/object_storage/object_storage_cluster/buckets/bucket

Configure an object storage bucket with new properties

Scopes

  • object_storage

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    object_storage_cluster

    object

    required

    region string

    bucket

    object

    required

    name string

    properties

    object

    required

    name string

    Can only include lowercase alphanumeric characters and hyphens, has to be globally unique.

    label string

    Optional alternative name/comment.

    serve_static_site boolean

    Whether to serve the bucket as a static website, defaults to false.

    static_site_index string

    Optional name of the index html page for a static website (requires public_read).

    static_site_error string

    Optional name of the error html page for a static website (requires public_read).

    access_control_list

    object

    public_read boolean

    Allow anyone to read objects in the bucket.

    public_list boolean

    Allow anyone to list objects in the bucket (requires public_read).

    all_keys_read boolean

    Allow any access key to read objects in the bucket.

    all_keys_write boolean

    Allow any access key to create or delete objects in the bucket.

    read_key_ids string[]
    write_key_ids string[]

Responses

Configure an object storage bucket with new properties

Schema

    object_storage_bucket

    object

    required

    name string
    label stringnullable
    created_at integer
    state ObjectStorageBucketStateEnum (string)

    Possible values: [pending, configured]

    custom_domain stringnullable
    object_count integernullable
    size integernullable
    serve_static_site boolean
    static_site_index stringnullable
    static_site_error stringnullable
    public_url string

    access_control_list

    object

    public_read boolean
    public_list boolean
    all_keys_read boolean
    all_keys_write boolean
    read_key_ids string[]
    write_key_ids string[]
Loading...