API referenceFiles
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.
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}$path*stringRelative to the volume root; "" or "." is the root.
Length
length <= 4096mode*integerRange
0 <= value <= 4095Success.
application/json- response
curl -X POST 'https://example.com/api/v1/files.chmod' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "volume": "string", "path": "string", "mode": 0}'Example Response
{}Compress files POST
Packs files and folders into a .tar.gz or .zip archive inside the same volume. Needs `files.write` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
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.