Generate a new access key and secret key for the object storage bucket. The previous credentials can optionally stay valid for a grace period (up to 168 hours) so clients can migrate without downtime. When the grace period elapses, the previous credentials stop working. The new credentials are returned in the response and are the only chance to capture them.
Documentation Index
Fetch the complete documentation index at: https://api-docs.sevalla.com/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Object storage bucket identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Number of hours to keep the previous access and secret keys valid after rotation (0-168). Set to 0 to immediately invalidate the previous credentials. Use a non-zero value to give clients time to migrate to the new credentials.
0 <= x <= 16824
Default Response
Unique identifier for the object storage bucket
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Identifier of the company that owns this object storage bucket
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Identifier of the project this object storage bucket is grouped under
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Unique system name used in internal references. Auto-generated from the display name and cannot be changed after creation.
"my-bucket"
Human-readable name shown in the dashboard and API responses
"My Bucket"
Geographic hint for where most data access occurs. apac - Asia-Pacific. eeur - Eastern Europe. enam - Eastern North America. oc - Oceania. weur - Western Europe. wnam - Western North America.
apac, eeur, enam, oc, weur, wnam "enam"
Data residency jurisdiction for the bucket. default - no jurisdiction restriction. eu - data stored exclusively in the EU. fedramp - FedRAMP-compliant storage.
default, eu, fedramp "default"
Public CDN domain for accessing objects in the bucket. Null if public access is not enabled.
"my-bucket.sevalla.storage"
S3-compatible API endpoint URL for programmatic access to the bucket
"https://account-id.r2.cloudflarestorage.com"
Access key ID for S3-compatible API authentication. Only returned when the bucket is first created.
"access-key-id"
Secret access key for S3-compatible API authentication. Only returned when the bucket is first created.
"secret-access-key"
Previous access key ID that is still valid until old_keys_expired_at, returned when credentials were rotated with a grace period. Null once the grace period has elapsed.
"old-access-key-id"
Previous secret access key that is still valid until old_keys_expired_at, returned when credentials were rotated with a grace period. Null once the grace period has elapsed.
"old-secret-access-key"
Timestamp when the previous credentials stop working, in ISO 8601 format. Null if no grace period is active.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-31T00:00:00.000Z"
Timestamp when the object storage bucket was created, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-30T00:00:00.000Z"
Timestamp when the object storage bucket was last modified, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-30T00:00:00.000Z"