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

# Delete Commission Rate

> Delete a commission rate.

Deletes a commission rate and its rules.

## Path parameters

**id** `string` *required*

The commission rate's ID.

## Response

**id** `string`

The deleted commission rate's ID.

**object** `string`

The object type: `commission_rate`.

**deleted** `boolean`

Whether the rate was deleted.

```bash cURL theme={null}
curl -X DELETE 'http://localhost:9000/admin/commission-rates/comrate_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
  -H 'Authorization: Bearer <token>'
```

```ts JS Client theme={null}
const result = await client.admin.commissionRates.$id.delete({
  $id: "comrate_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
})
```

```json 200 theme={null}
{
  "id": "comrate_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
  "object": "commission_rate",
  "deleted": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.