# UnlinkCustomersFromCertificate

Source: https://developer.avalara.com/products/ecm/integration-guides/document-management/nmc6563599222666/

Guide: Exemption Certificate Management (ECM)

# UnlinkCustomersFromCertificate

Learn how to use the UnlinkCustomersFromCertificate API to remove customers from a certificate.

Use the [UnlinkCustomersFromCertificate API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Certificates/UnlinkCustomersFromCertificate/) to remove customers from a certificate. Include your `companyId` and the certificate `id` in the request URL.

**Example**

```
curl
  -X POST
  -H 'Accept: application/json'
  -H 'Authorization: Basic ${btoa(`:`)}'
  -H 'Content-Type: application/json'
  --data {
    "customers": [
      "123456789"
    ]
  }
  'https://sandbox-rest.avatax.com/api/v2/companies/{companyId}/certificates/{id}/customers/unlink'
```

**Parent topic:** [Revoke a certificate](/document-management/oas0801600897334/ "Learn how to remove an exemption certificate from a customer when it expires or is no longer applicable.")