DELETE
/
agent
/
{id}
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
}

Authorizations

x-api-token
string
header
required

API key authentication

Path Parameters

id
string
required

Unique ID of the agent to delete

Response

200
application/json
Agent deleted successfully
data
object
message
string

Success message

Example:

"agent deleted"

status
boolean

Operation status

Example:

true