# UnlinkCertificateFromCustomer

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

Guide: Exemption Certificate Management (ECM)

# UnlinkCertificateFromCustomer

Learn how to use the UnlinkCertificatesFromCustomer API to remove certificates from a customer.

Use the [UnlinkCertificatesFromCustomer API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Customers/UnlinkCertificatesFromCustomer/) to remove one or more certificates from a customer. Include your `companyId` and the `customerCode` in the request URL.

**Example**

```
curl
  -X POST
  -H 'Accept: application/json'
  -H 'Authorization: Basic ${btoa(`:`)}'
  -H 'Content-Type: application/json'
  --data {
    "certificates": [
      1,
      3
    ]
  }
  'https://sandbox-rest.avatax.com/api/v2/companies/{companyId}/customers/{customerCode}/certificates/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.")