Skip to content
  • Auto
  • Light
  • Dark

Delete

Delete Agent Route for an Agent
delete/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}

To delete an agent route from a parent agent, send a DELETE request to /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}.

Path Parameters
parent_agent_uuidstring
child_agent_uuidstring
Returns
child_agent_uuidstring
optional

Routed agent id

parent_agent_uuidstring
optional

Pagent agent id

curl https://api.digitalocean.com//v2/gen-ai/agents/$PARENT_AGENT_UUID/child_agents/$CHILD_AGENT_UUID \
    -X DELETE \
    -H "Authorization: Bearer $GRADIENTAI_API_KEY"
200 Example
{
  "child_agent_uuid": "\"123e4567-e89b-12d3-a456-426614174000\"",
  "parent_agent_uuid": "\"123e4567-e89b-12d3-a456-426614174000\""
}