---
title: "Remove accounts from an invoice group. Removing all accounts will also delete the invoice group"
method: POST
path: "/invoice_groups/{invoice_group_id}/remove_accounts"
tags: ["InvoiceGroups"]
---

# Remove accounts from an invoice group. Removing all accounts will also delete the invoice group

`POST /invoice_groups/{invoice_group_id}/remove_accounts`

This API let’s you to remove accounts from an invoice group. Removing all accounts will also delete the invoice group

## Path parameters

- `invoice_group_id` string, required

## Request body

- UpdateInvoiceGroupAccounts — Add accounts to an invoice group
  - `accountIds` string[], required

## Response `200`

OK

- BaseSuccessResponse
  - `success` boolean, required

## Other responses

- `400` — Error response
- `401` — Error response
- `403` — Error response
- `404` — Error response
- `429` — Error response
- `default` — Error response

---

[API](https://skmtc.net/togaihq/apis/togai-apis.md) · [All operations](https://skmtc.net/togaihq/apis/togai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/togaihq/togai-apis/revisions/442f5d8f4aa0/schema)
