---
title: "Bulk unassign child agents."
method: DELETE
path: "/api/v1/projects/{projectId}/children"
tags: ["Multi-Agent"]
---

# Bulk unassign child agents.

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

## Request

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

Removes multiple child agents from this Multi-Agent in a single request. Returns 422 if the operation would leave no children, or if any specified agent is not currently assigned.

## Path parameters

- `projectId` integer, required

## Request body

- object
  - `projectIds` integer[]: IDs of the child agents to unassign. All IDs must currently be assigned. At least one child must remain after the operation.

## 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/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)
