Python SDK
HTTP API
Parameters
string
required
Viking URI of the file or directory to remove
boolean
default:"false"
Remove directory and all its contents recursively
Response
string
Operation status (
ok on success)object
Result object containing the removed URI
number
Execution time in seconds
CLI
Error Cases
- Attempting to remove a non-empty directory without
recursive=truewill fail - Removing a non-existent resource returns an error
- The operation cannot be undone
