running state.
Create a directory
mkdir -p).
Authentication
string
required
Your team’s API key. Pass the full
wrn_... key value.Path parameters
string
required
The ID of the capsule. The capsule must be in the
running state.Request body
string
required
Absolute path of the directory to create inside the capsule, e.g.
"/app/data".Example request
Response
Returns200 OK with a FileEntry object describing the created directory.
object
The created directory entry.
Example response
Remove a file or directory
Authentication
string
required
Your team’s API key. Pass the full
wrn_... key value.Path parameters
string
required
The ID of the capsule. The capsule must be in the
running state.Request body
string
required
Absolute path to the file or directory to remove, e.g.
"/app/old".Example request
Response
Returns204 No Content on success. No body is returned.
Python SDK
remove works recursively for directories. There is no rmdir-style safe guard — it behaves like rm -rf.