Create or update S3 storage configuration for backups.
POST
/xrpc/place.stream.server.upsertStorage
const url = 'https://example.com/xrpc/place.stream.server.upsertStorage';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"url":"example","isActive":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/xrpc/place.stream.server.upsertStorage \ --header 'Content-Type: application/json' \ --data '{ "url": "example", "isActive": true }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
url
S3 storage URL in format: s3+https://ACCESS_KEY:SECRET_KEY@endpoint/bucket
string
isActive
Whether backup storage is currently active.
boolean
Example generated
{ "url": "example", "isActive": true}Responses
Section titled “Responses”Success
Media typeapplication/json
object
storage
required
S3 storage configuration for backups.
object
url
required
S3 storage URL with masked secret key in format: s3+https://ACCESS_KEY:***@endpoint/bucket
string
isActive
required
Whether backup storage is currently active.
boolean
Example generated
{ "storage": { "url": "example", "isActive": true }}Bad Request
