cURL
curl --request DELETE \ --url https://{api-address}.org.machina.gg/agent/{id} \ --header 'x-api-token: <api-key>'
{ "data": { "id": "67e09cb441dc71ef8db3992f" }, "message": "agent deleted", "status": true }
Delete an agent by its ID.
API key authentication
Unique ID of the agent to delete
Agent deleted successfully
Show child attributes
Unique identifier of the deleted agent
"67e09cb441dc71ef8db3992f"
Success message
"agent deleted"
Operation status
true