---
title: "Delete a contact by phone"
method: DELETE
path: "/contacts/by-phone/{phone}"
tags: ["Contacts"]
---

# Delete a contact by phone

`DELETE /contacts/by-phone/{phone}`

## Request

- Base URL: `https://api.textla.com/v1`
- URL: `https://api.textla.com/v1/contacts/by-phone/{phone}`
- Auth: HTTP bearer

Permanently deletes the contact identified by the E.164 phone number under the authenticated account. The account ID is taken from the bearer token. Requires a concrete current ETag in If-Match; the wildcard If-Match value is rejected with 400, and a stale ETag returns 412. Opt-outs are preserved by Contacts Service so re-importing the phone does not resubscribe it. Returns 204 with no response body, including when no contact has the phone, so repeating a delete is safe.

## Path parameters

- `phone` string, required: E.164 phone number identifying the contact

## Headers

- `If-Match` string, required: Current contact ETag required for deletion

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `412`: Precondition Failed
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `502`: Bad Gateway
- `503`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/textla/apis/textla-api.md) - [All operations](https://skmtc.dev/textla/apis/textla-api/llms.txt) - [OpenAPI document](https://skmtc.dev/textla/apis/textla-api/revisions/473f03350bc1?raw)
