Skip to content

Update a BYO storage bucket

PUT
/v1/storage-buckets/{bucket_id}
bucket_id
required
Bucket Id
string format: uuid
UpdateStorageBucketRequest
object
name
Any of:
string
provider
Any of:
StorageBucketProvider

Supported object store. Amazon S3 only today. Cloudflare R2, MinIO, and other S3-compatible stores are coming soon.

string
Allowed values: S3
auth_mode
Any of:
StorageBucketAuthMode

Amazon S3 uses OIDC (AssumeRoleWithWebIdentity). Static access keys are not supported for S3.

string
Allowed values: OIDC
region
Any of:
string
bucket_name
Any of:
string
endpoint_url
Any of:
string
sts_endpoint_url
Any of:
string
key_prefix
Any of:
string
role_arn
Any of:
string
external_id
Any of:
string
oidc_audience
Any of:
string
access_key_id
Any of:
string
secret_access_key
Any of:
string
is_default
Any of:
boolean

Successful Response

StorageBucket
object
id
required
Id
string
name
required
Name
string
provider
required
StorageBucketProvider

Supported object store. Amazon S3 only today. Cloudflare R2, MinIO, and other S3-compatible stores are coming soon.

string
Allowed values: S3
auth_mode
StorageBucketAuthMode

Amazon S3 uses OIDC (AssumeRoleWithWebIdentity). Static access keys are not supported for S3.

string
default: OIDC
Allowed values: OIDC
region
required
Region
string
bucket_name
required
Bucket Name
string
endpoint_url
Any of:
string
sts_endpoint_url
Any of:
string
key_prefix
Key Prefix
string
""
role_arn
Any of:
string
oidc_subject
Any of:
string
oidc_audience
Any of:
string
access_key_id
Any of:
string
has_secret_access_key
Has Secret Access Key
boolean
status
required
Status
string
is_default
required
Is Default
boolean
dependent_repository_count
Dependent Repository Count
integer
0
last_validated_at
Any of:
string
created_at
Any of:
string

Forbidden

GenericError
object
detail
Detail

Not Found

GenericError
object
detail
Detail

Unprocessable Entity

GenericError
object
detail
Detail