Change a backup schedule
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.
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$policyId*stringPanel-issued id.
^[a-z0-9]{16}$destinationId?stringPanel-issued id.
^[a-z0-9]{16}$schedule?string^\S+( \S+){4}$9 <= length <= 100keepLast?integer1 <= value <= 1000stopService?booleanenabled?booleanSuccess.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$serviceId*stringPanel-issued id.
^[a-z0-9]{16}$destinationId*stringPanel-issued id.
^[a-z0-9]{16}$destinationName*stringtarget*string|stringvolumeId*|nullvolumeName*string|nullschedule*string^\S+( \S+){4}$9 <= length <= 100keepLast*integer1 <= value <= 1000stopService*booleanenabled*booleannextRunAt*|nulllastRun*|nullcreatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/backups.updatePolicy' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "policyId": "string"}'{ "id": "string", "serviceId": "string", "destinationId": "string", "destinationName": "string", "target": "database", "volumeId": "string", "volumeName": "string", "schedule": "stringstr", "keepLast": 1, "stopService": true, "enabled": true, "nextRunAt": "2019-08-24T14:15:22Z", "lastRun": { "id": "string", "status": "string", "finishedAt": "2019-08-24T14:15:22Z" }, "createdAt": "2019-08-24T14:15:22Z"}Change a backup destination POST
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.
Create a Box POST
Creates a code-server workspace in a project on one node, with a persistent home volume. It joins the project network, so it reaches the project's services on that node by name. Needs `services.create` on the project. Available to MCP clients and the assistant.