---
title: "Remove children from a group"
method: DELETE
path: "/v1/groups/{groupId}/children"
tags: ["Groups"]
---

# Remove children from a group

`DELETE /v1/groups/{groupId}/children`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/groups/{groupId}/children`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/btcpayserver/apis/nbxplorer-api/docs/v1/groups/:groupId/children/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes one or more child tracked sources from the specified group.

## Path parameters

- `groupId` string, required

## Request body

- TrackedSource[]
  - `trackedSource` string, required: The tracked source identifier, which can be a group or a derivation scheme.
  - `cryptoCode` string: The cryptocurrency code associated with the tracked source (if applicable).

## Response `200`

Children removed from group successfully.

- Group
  - `trackedSource` string, required: The tracked source identifier for the group, formatted as 'GROUP:{groupId}'. Used to reference the group within NBXplorer.
  - `groupId` string, required: The unique identifier of the group.
  - `children` object[]: An array of child tracked sources that are part of this group. Each child can be another group (nested groups) or a derivation scheme.
    - `trackedSource` string, required: The tracked source identifier of the child, which can be a group or a derivation scheme.
    - `cryptoCode` string: The cryptocurrency code associated with the child tracked source, e.g., 'BTC'. Present if the child is a derivation scheme.

## Other responses

- `400`: Bad Request. This endpoint accepts a request body with the DELETE method, which is non-standard. Ensure the request is correctly formatted.
- `404`: Not Found. The specified group does not exist.

## Changes

- **2026-09-29** `52231f42c765`: 1 info
  - endpoint added
- **2024-11-25** `f08b9069e804`: 1 breaking
  - api removed without deprecation
- **2024-11-25** `cfaf4efd4ea8`: 4 breaking, 6 info
  - the `code` response's property type changed from `integer` to `string` for status `400`
  - the `code` response's property type changed from `integer` to `string` for status `404`
  - removed the required property `error` from the response with the `400` status
  - removed the required property `error` from the response with the `404` status
  - …6 more
- **2024-11-25** `72a2dfa26976`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/changes/v1/groups/:groupId/children/delete.md)

---

[API](https://skmtc.dev/btcpayserver/apis/nbxplorer-api.md) - [All operations](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/revisions/52231f42c765?raw)
