Skip to content

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
parent_agent_uuidstring
optional
Request example cURL
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": "child_agent_uuid",
  "parent_agent_uuid": "parent_agent_uuid"
}