Skip to main content
DELETE

Delete Agent

Permanently delete an agent by UUID or name. This action stops any active agent instances, cleans up configurations, and unassigns related resources.
Deletion is permanent. Once an agent is deleted, its configuration and assigned prompts cannot be recovered.

Path Parameters

string
required
The unique identifier (UUID) or system name of the agent to delete.
Deleting an agent requires an admin (or super-admin) role. A key owned by a non-admin user gets 403 Forbidden. Errors use the standard envelope (code: "NOT_FOUND" / FORBIDDEN) and do not include a detail field. DELETE /api/delete-agent/{agent_id} is an alias of this endpoint.

Request Example


Response

string
Confirmation message indicating the agent was successfully deleted.