Skip to Content
Docs

Delete an agent by ID

DELETE
/api/delete_agent

Delete an agent by ID.

Personal access token scope: agents:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

id?string

ID of the agent

Response Body

Success

Example Request
curl -X DELETE 'http://localhost:7091/api/delete_agent'
Example Response200
Empty