Sessions & Agents

Delete 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.
  • Auth
    none 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 header request parameter X-Api-Key

    • info

      added the new optional header request parameter authorization

    • warning

      deleted the header request parameter X-Api-Key

    1 more change in this revision