Change a backup destination
Changes a destination. Fields left out keep their value, including the secret key. Existing backups stay where they were written.
Needs backups.destinations, which owners and admins hold. Not available to MCP clients or the assistant.
seylo_session<token>application/json- body
destinationId*stringPanel-issued id.
^[a-z0-9]{16}$name?string1 <= length <= 60provider?string|string|string|stringendpoint?string^https?://8 <= length <= 500region?string1 <= length <= 60"auto"bucket?string^[a-z0-9][a-z0-9.-]*[a-z0-9]$3 <= length <= 63pathPrefix?string^([^/][^\\]*)?$length <= 200""pathStyle?booleanfalseaccessKeyId?string1 <= length <= 200secretAccessKey?string1 <= length <= 500Success.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$name*string1 <= length <= 60provider*string|string|string|stringendpoint*string^https?://8 <= length <= 500region*string1 <= length <= 60"auto"bucket*string^[a-z0-9][a-z0-9.-]*[a-z0-9]$3 <= length <= 63pathPrefix*string^([^/][^\\]*)?$length <= 200""pathStyle*booleanfalseaccessKeyId*string1 <= length <= 200policyCount*integer0 <= valuecreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/backups.updateDestination' \ -H 'Content-Type: application/json' \ -d '{ "destinationId": "string"}'{ "id": "string", "name": "string", "provider": "s3", "endpoint": "stringst", "region": "auto", "bucket": "string", "pathPrefix": "", "pathStyle": false, "accessKeyId": "string", "policyCount": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Test a backup destination POST
Writes, reads and deletes a small test object to check the endpoint, bucket and keys. Test a saved destination by id, or unsaved settings with draft (a draft without secretAccessKey reuses the saved key of destinationId). Needs `backups.destinations`, which owners and admins hold. Not available to MCP clients or the assistant.
Change a backup schedule POST
Changes a schedule's destination, timing, retention or on/off state. Fields left out keep their value. Needs `backups.edit` on the service (a grant on its project covers it). Available to MCP clients and the assistant.