zoxaAI
Homepage
API ReferenceTools

Delete a tool

DELETE /api/v1/tools/{tool_uuid} — archive (soft-delete) a tool.

DELETE /api/v1/tools/{tool_uuid}

Archive a tool. The row stays in the database — agents that still reference this tool_uuid continue to work but the tool no longer appears in the active list. Use POST /tools/{tool_uuid}/unarchive to restore.

Hard delete isn't supported

Tools are soft-deleted to preserve referential integrity with agent configs and historical call records.

Response

200 OK:

{ "status": "archived", "tool_uuid": "abc12345-6789-0123-4567-89abcdef0123" }

Examples

curl -X DELETE https://dashboard.zoxa.ai/api/v1/tools/abc12345-6789-0123-4567-89abcdef0123 \
  -H "X-API-Key: zsk_..."
await fetch(`https://dashboard.zoxa.ai/api/v1/tools/${toolUuid}`, {
  method: "DELETE",
  headers: { "X-API-Key": "zsk_..." },
});
import httpx
httpx.delete(
    f"https://dashboard.zoxa.ai/api/v1/tools/{tool_uuid}",
    headers={"X-API-Key": "zsk_..."},
)

Errors

StatusdetailWhen
400"No organization selected for the user"Auth missing org.
404"Tool not found"UUID not in your org.

On this page