curl --request DELETE \
--url https://api.orq.ai/v2/agents/{agent_key} \
--header 'Authorization: Bearer <token>'{}Permanently removes an agent from the workspace. This operation is irreversible and will delete all associated configuration including model assignments, tools, knowledge bases, memory stores, and cached data. Active agent sessions will be terminated, and the agent key will become available for reuse.
curl --request DELETE \
--url https://api.orq.ai/v2/agents/{agent_key} \
--header 'Authorization: Bearer <token>'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique key of the agent to delete
Agent successfully deleted. No content is returned, but the agent has been permanently removed from the workspace.
Was this page helpful?