---
title: "Delete sub-account from group"
method: PUT
path: "/corporate/group/unlink/{groupId}/subAccounts"
tags: ["Master account"]
---

# Delete sub-account from group

`PUT /corporate/group/unlink/{groupId}/subAccounts`

## Request

- Base URL: `https://api.brevo.com/v3`
- URL: `https://api.brevo.com/v3/corporate/group/unlink/{groupId}/subAccounts`
- Auth: one of:
  - API key in header `api-key`
  - API key in header `partner-key`
- TypeScript: <https://skmtc.dev/getbrevo/apis/brevo-api/docs/corporate/group/unlink/:groupId/subAccounts/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to remove a sub-organization from a group.

## Path parameters

- `groupId` string, required

## Request body

- Body4
  - `subAccountIds` integer[], required: List of sub-account ids

## Response `204`

SubAccounts removed from the group

## Other responses

- `400`: bad request

## Changes

- **2026-07-17** `2aec3cf66501`: 1 info
  - endpoint added
- **2023-05-05** `2122e9ffdbe8`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/getbrevo/apis/brevo-api/changes/corporate/group/unlink/:groupId/subAccounts/put.md)

---

[API](https://skmtc.dev/getbrevo/apis/brevo-api.md) - [All operations](https://skmtc.dev/getbrevo/apis/brevo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getbrevo/apis/brevo-api/revisions/2aec3cf66501?raw)
