Skip to main content
DELETE
/
v1
/
agent
/
{agentId}
/
filesystem
/
files
/
{path}
Delete File
curl --request DELETE \
  --url https://api.app.shinzo.ai/v1/agent/{agentId}/filesystem/files/{path} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

Requires JWT token or Platform API key.
agentId
string
required
Agent UUID
path
string
required
File path within the agent workspace (wildcard segment)

Example Request

curl -X DELETE "https://api.app.shinzo.ai/v1/agent/agt_abc123/filesystem/files/workspace/data/output.txt" \
  -H "Authorization: Bearer <jwt_token>"

Response

{
  "message": "File deleted successfully"
}

Status Codes

CodeDescription
200File deleted successfully
401Invalid authentication
403Access denied
404Agent or file not found