This endpoint deletes a specific Contact.
Request
To delete a Contact please make a DELETE request to the following URL:
| HTTP Method | URL |
|---|---|
| DELETE | https://industrial.api.ubidots.com/api/v2.0/contacts/<contact_key>/ |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| contact_key | String | The id or label of the Contact. The label must use the prefix ~, e.g. ~jane-doe |
Header
| Parameter | Required? | Description |
|---|---|---|
| X-Auth-Token | Yes | Authentication Token of account |
$ curl -X DELETE 'https://industrial.api.ubidots.com/api/v2.0/contacts/<contact_key>/' \
-H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73'{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}{
"code": 402001,
"message": "Your current plan does not include this feature."
}{
"detail": "You do not have permission to perform this action."
}{
"code": 404001,
"message": "The request was not found."
}Response
Returns an empty response with status 204 No Content. Escalation policies that list the Contact id keep it, and stop notifying it.

