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

# Delete jurisdiction exemption

> Delete a jurisdiction exemption from an exemption certificate

Deletes a specific jurisdiction exemption from an exemption certificate.

<ParamField path="exemption_certificate_id" type="string" required>
  The unique identifier of the exemption certificate.
</ParamField>

<ParamField path="jurisdiction" type="string" required>
  The jurisdiction identifier in the format `{country}_{state}` (e.g., "US\_CA" for California).
</ParamField>

<ResponseExample>
  ```json 204 theme={null}
  {
    "message": "Successfully deleted exemption."
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "code": "EXEMPTION_CERTIFICATE_NOT_FOUND",
      "message": "Exemption certificate not found"
    }
  }
  ```
</ResponseExample>

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'https://transaction-tax.api.in.commenda.io/api/v1/exemption-certificates/{exemption_certificate_id}/jurisdictions/US_CA' \
    --header 'Authorization: Bearer <token>'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/exemption-certificates/{exemption_certificate_id}/jurisdictions/US_CA', {
    method: 'DELETE',
    headers: {
      'Authorization': 'Bearer <token>'
    }
  });

  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
    'https://transaction-tax.api.in.commenda.io/api/v1/exemption-certificates/{exemption_certificate_id}/jurisdictions/US_CA',
    headers={'Authorization': 'Bearer <token>'}
  )

  data = response.json()
  ```
</RequestExample>
