Skip to content

Create or update S3 storage configuration for backups.

POST
/xrpc/place.stream.server.upsertStorage
curl --request POST \
--url https://example.com/xrpc/place.stream.server.upsertStorage \
--header 'Content-Type: application/json' \
--data '{ "url": "example", "isActive": true }'
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
}

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

Media typeapplication/json
object
error
required
One of:
string
Allowed value: InvalidUrl
message
required
string

Example

{
"error": "InvalidUrl"
}