Sessions & Agents
Delete Agent
Changed onDelete agent
Always deletes local agent metadata. If delete-backup-too=true, also permanently deletes the agent memory namespace in Moorcheh. If that fails, nothing is deleted and the error is returned, so the request can be retried.
delete/api/v2/agents/{agent_id}
Request
- The document declares no server URL.
- Authnone declared
Path parameters
agent_idstring required
Query parameters
delete-backup-tooboolean
Delete Moorcheh namespace backup
Headers
authorizationstring nullable
X-Api-Keystring nullable
Response
Successful Response
unknown required
Changes
- info
added the new optional
headerrequest parameterX-Api-Key - info
added the new optional
headerrequest parameterauthorization
- info
- warning
deleted the
headerrequest parameterX-Api-Key
1 more change in this revision
- warning