---
title: "Remove an SMS test number"
description: "Remove a test number; template tests can no longer text it. `DELETE /api/v1/sms/test-destinations/{id}`"
url: https://www.unitpost.com/docs/sms/delete-sms-test-destinations-id
section: "SMS API reference"
updated: 2026-10-13
---
# Remove an SMS test number

`DELETE /api/v1/sms/test-destinations/{id}`

Remove a test number; template tests can no longer text it. Requires the `sms:manage` capability.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 204 | Removed. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | Test number not found, or SMS is not enabled. |
| 422 | A query key (this operation takes none). |
| 429 | Too many test-number changes; honor Retry-After. |
| 502 | Couldn't reach the carrier; try again. |

## Example request

```bash
curl -X DELETE 'https://www.unitpost.com/api/v1/sms/test-destinations/123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/sms/delete-sms-test-destinations-id
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
