dots.v2.genAi.agents.byAgent_uuId().child_agents.byChild_agent_uuid().delete()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

client.v2.genAi.agents.byAgent_uuId(agent_uuId).child_agents.byChild_agent_uuid(child_agent_uuid).delete(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiUnlinkAgentOutput>

Description

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}.

Parameters

agent_uuId string required

Example: "123e4567-e89b-12d3-a456-426614174000"

Pagent agent id

child_agent_uuid string required

Example: "123e4567-e89b-12d3-a456-426614174000"

Routed agent id

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.genAi.agents
    .byAgent_uuId("\"123e4567-e89b-12d3-a456-426614174000\"").child_agents
    .byChild_agent_uuid("\"123e4567-e89b-12d3-a456-426614174000\"").delete();

Response Example

Show Response Example
{
  "child_agent_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "parent_agent_uuid": "123e4567-e89b-12d3-a456-426614174000"
}

More Information

See /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.