> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# DeleteTaxExemptGroup

# Package: tax

# Namespace: TaxExemptGroups

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-exempt-groups/delete-tax-exempt-group.md

## Permission Scopes:
Manage Orders: SCOPE.DC-STORES.MANAGE-ORDERS

## Introduction

Deletes a tax exempt group.

Deleting a tax exempt group also removes its exempt override rates from any manual tax mappings. Contacts previously associated with the group through their contact tax details are no longer exempt through it.

To delete multiple tax exempt groups in a single API call, call [Bulk Delete Tax Exempt Groups](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-exempt-groups/bulk-delete-tax-exempt-groups.md).

---

## REST API

### Schema

```
 Method: deleteTaxExemptGroup
 Description: Deletes a tax exempt group.  Deleting a tax exempt group also removes its exempt override rates from any manual tax mappings. Contacts previously associated with the group through their contact tax details are no longer exempt through it.  To delete multiple tax exempt groups in a single API call, call [Bulk Delete Tax Exempt Groups](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-exempt-groups/bulk-delete-tax-exempt-groups.md).
 URL: https://www.wixapis.com/billing/v1/tax-exempt-groups/{taxExemptGroupId}
 Method: DELETE
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  taxExemptGroupId
 Method parameters: 
   param name: taxExemptGroupId | type:   none | required: true 
 Return type: DeleteTaxExemptGroupResponse
  EMPTY-OBJECT {}


```

### Examples

### Delete Tax Exempt Group
Deletes a tax exempt group by ID.

```curl
curl -X DELETE \
    'https://www.wixapis.com/billing/v1/tax-exempt-groups/8046df3c-7575-4098-a5ab-c91ad8f33c47' \
    -H 'Authorization: <AUTH>' \
    -H 'Content-Type: application/json'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.ecom.taxExemptGroups.deleteTaxExemptGroup(taxExemptGroupId)
 Description: Deletes a tax exempt group.  Deleting a tax exempt group also removes its exempt override rates from any manual tax mappings. Contacts previously associated with the group through their contact tax details are no longer exempt through it.  To delete multiple tax exempt groups in a single API call, call [Bulk Delete Tax Exempt Groups](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-exempt-groups/bulk-delete-tax-exempt-groups.md).
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  taxExemptGroupId
 Method parameters: 
   param name: taxExemptGroupId | type: string | description: GUID of the tax exempt group to delete. | required: true | validation: format GUID
 Return type: PROMISE<DeleteTaxExemptGroupResponse>
  EMPTY-OBJECT {}


```

### Examples

### deleteTaxExemptGroup
```javascript
import { taxExemptGroups } from '@wix/ecom';

async function deleteTaxExemptGroup(taxExemptGroupId) {
  const response = await taxExemptGroups.deleteTaxExemptGroup(taxExemptGroupId);
};
```

### deleteTaxExemptGroup (with elevated permissions)
```javascript
import { taxExemptGroups } from '@wix/ecom';
import { auth } from '@wix/essentials';

async function myDeleteTaxExemptGroupMethod(taxExemptGroupId) {
  const elevatedDeleteTaxExemptGroup = auth.elevate(taxExemptGroups.deleteTaxExemptGroup);
  const response = await elevatedDeleteTaxExemptGroup(taxExemptGroupId);
}
```

### deleteTaxExemptGroup (self-hosted)
Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { taxExemptGroups } from '@wix/ecom';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { taxExemptGroups },
  // Include the auth strategy and host as relevant
});


async function deleteTaxExemptGroup(taxExemptGroupId) {
  const response = await myWixClient.taxExemptGroups.deleteTaxExemptGroup(taxExemptGroupId);
};
```

---