Roll back to a deployment
Deploys the image of an earlier successful deployment again, by digest, without building. Settings and environment are the current ones. Fails when the image is no longer kept.
Needs services.deploy 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}$deploymentId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$serviceId*stringPanel-issued id.
^[a-z0-9]{16}$generation*integer1 <= valuestatus*string|string|string|string|string|string|stringlive*booleantrigger*string|string|string|string|string|string|string|stringactor*string|nullcommit*|nullbuilder*string|string|string|nullbuiltOn*|nullshippedTo*array<>image*|nullsteps*array<>durationMs*|nullcanRollback*booleanrollbackOf*|nullerror*string|nullcreatedAt*stringdate-timestartedAt*|nullfinishedAt*|nullcurl -X POST 'https://example.com/api/v1/deployments.rollback' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "deploymentId": "string"}'{ "id": "string", "serviceId": "string", "generation": 1, "status": "queued", "live": true, "trigger": "manual", "actor": "string", "commit": { "sha": "string", "message": "string", "branch": "string", "author": "string" }, "builder": "railpack", "builtOn": { "id": "string", "name": "string" }, "shippedTo": [ { "id": "string", "name": "string" } ], "image": { "reference": "string", "digest": "string", "sizeBytes": 0, "shippedBytes": 0 }, "steps": [ { "key": "clone", "status": "pending", "node": { "id": "string", "name": "string" }, "detail": "string", "durationMs": 0 } ], "durationMs": 0, "canRollback": true, "rollbackOf": "string", "error": "string", "createdAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z"}List recent deployments GET
Lists the latest deployments across every service the caller can view (or one project's), newest first, failed ones included. For the dashboard's Recent deploys. Any signed-in caller. Available to MCP clients and the assistant.
Preview a cleanup GET
Lists what a cleanup of this node would remove and how much space it frees, without removing anything. Needs `nodes.manage`, which owners and admins hold. Available to MCP clients and the assistant.