> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove business unit by ID

Removes a business unit with the specified external ID from the dataset.

## HTTP request

```http theme={null}
DELETE https://api-{location-id}.flexicapture.com/v2/dataset/businessunit/{region}/{externalId}
```

Replace `{location-id}` with your [supported location](/flexi-capture/cloud/cloud-f-cfor-invoices-api#icaas-supported-countries).

## Path parameters

| Parameter    | Type          | Description                                                                                                    |
| ------------ | ------------- | -------------------------------------------------------------------------------------------------------------- |
| `region`     | path, string  | Required. Invoice region. Supported regions: US: USA, AU: Australia, EU: European Union countries, CA: Canada. |
| `ExternalId` | query, string | Required. External business unit ID.                                                                           |

## Response

If successful, the server returns a `204 No Content` HTTP status.
