How to de-activate your end users so that they can't use your integration, and are removed from Autofy billing.

Make the de-provisioning request

De-provisioning a Company is done one at a time. To make the de-provisioning call, make this request:

curl --request PATCH \
  --url \
  --header 'authorization: {YOUR API KEY}' \
  --data '{"endpointId":"YOUR_ENDPOINT_ID","isActive":"false"}'

Here is the response:

  "Meta": {
    "CommandGuid": null,
    "StatusCode": "0",
    "Severity": null,
    "Message": "Updated endpoint YOUR_ENDPOINT_ID"
  "Detail": [
      "isActive": false,
      "endpointId": "YOUR_ENDPOINT_ID",
      "endpoint": "qbd",
      "fullPath": "YOUR_QBD_FILE_PATH",
      "companyName": "YOUR_QBD_COMPANY_LABEL",
      "dateTimeCreated": "2019-03-29T17:50:42.937",
      "appName": "YOUR_APP_NAME"

The response confirms the details of the Company (endpointID) that you have de-provisioned.


There are 3 ways to confirm that you have indeed removed your end Customer from the API:

  1. Review the response of the de-provisioning call (in step 2 above).

  2. Select list of inactive Companies (endpointIDs).

curl --request GET \
  --url \
  --header 'authorization: {YOUR API KEY}' \
  1. Make a call to an inactive Company (endpointID) and confirm the response.