> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracklysms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Contact

> Delete a contact by phone number (deprecated, no-op)

<Warning>
  **Deprecated & No-Op**: This endpoint is a compatibility stub that always returns success without deleting anything.
</Warning>

This endpoint exists for API compatibility with legacy integrations. It does not delete any data.

## Path Parameters

<ParamField path="msisdn" type="string" required>
  The phone number to delete
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Always `true`
</ResponseField>

<ResponseField name="deprecated" type="boolean">
  Always `true`
</ResponseField>

<ResponseField name="message" type="string">
  Deprecation notice
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.tracklysms.com/api/v1/contacts/+14155551234 \
    -H "X-Api-Key: your_api_key"
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
      "https://api.tracklysms.com/api/v1/contacts/+14155551234",
      headers={"X-Api-Key": "your_api_key"}
  )

  print(response.json())
  # Returns success but contact is NOT deleted
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "success": true,
    "deprecated": true,
    "message": "This endpoint is deprecated and performs no operation."
  }
  ```
</ResponseExample>

## Managing Contact Subscriptions

To unsubscribe or remove contacts:

1. Navigate to **Contacts** in the dashboard
2. Search for the contact
3. Click to open their profile
4. Use the **Unsubscribe** button to opt them out

<Note>
  Unsubscribed contacts remain in the system for compliance tracking but will not receive messages.
</Note>
