---
title: "Unassign a child agent."
method: DELETE
path: "/api/v1/projects/{projectId}/children/{childProjectId}"
tags: ["Multi-Agent"]
---

# Unassign a child agent.

`DELETE /api/v1/projects/{projectId}/children/{childProjectId}`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/children/{childProjectId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/children/:childProjectId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a single child agent from this Multi-Agent. Returns 422 if this is the last remaining child, or 404 if the agent is not currently assigned.

## Path parameters

- `projectId` integer, required
- `childProjectId` integer, required

## Response `204`

The operation completed successfully. No content is returned.

## Other responses

- `401`: API Token is either missing or invalid
- `403`: Multi-Agent is not available on your current plan, or this project is not a Multi-Agent.
- `404`: Agent not found
- `422`: Bad Argument
- `429`: Too many requests. You have exceeded your API rate limit.
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/children/:childProjectId/delete.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
