API referenceFiles
Delete files
POST
Deletes files and folders (folders recursively) from a service volume. This cannot be undone.
Needs files.write on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.
cookie
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$volume*stringLength
1 <= length <= 64nodeId?stringPanel-issued id.
Match
^[a-z0-9]{16}$paths*array<>Items
1 <= items <= 1000Success.
application/json- response
curl -X POST 'https://example.com/api/v1/files.delete' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "volume": "string", "paths": [ "string" ]}'Example Response
{}Change file permissions POST
Sets the Unix permission bits of a file or folder. Needs `files.write` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
Get a download link GET
Returns a one-minute link that downloads a file (any size) from a service volume. Needs `files.read` on the service (a grant on its project covers it). Not available to MCP clients or the assistant.