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
The response is of type object.
object