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

# DELETE /v1/channels/sms/senders/{registration_id}

> Withdraw a sender ID request nobody has decided yet.

Withdraws a sender ID request nobody has decided yet.

> [!NOTE]
>
> Needs the `sms.senders:write` scope.

## Path parameters

| Field | Type | Required | Notes |
| :- | :- | :- | :- |
| `registration_id` | string | Yes | The registration's id, from the list. |

## Request

```bash cURL theme={null}
curl -X DELETE https://api.fireflo.au/v1/channels/sms/senders/4182 \
  -H "Authorization: Bearer $OMNI_API_KEY"
```

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

import requests

response = requests.delete(
    "https://api.fireflo.au/v1/channels/sms/senders/4182",
    headers={"Authorization": f"Bearer {os.environ['OMNI_API_KEY']}"},
)
print(response.status_code)
```

```javascript Node theme={null}
const response = await fetch("https://api.fireflo.au/v1/channels/sms/senders/4182", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.OMNI_API_KEY}`,
  },
});
console.log(response.status);
```

## Response

`204 No Content` — no body.

## Errors

Every refusal is `{"error": {"code", "message", "field"}}`; `field` is there when one input is at fault.

| Status | Error code | When |
| :- | :- | :- |
| 404 | `not_found` | No registration has that id on this account. |
| 404 | `channel_off` | The account doesn't have SMS on. |
| 409 | `provider_refused` | The gateway refused — it has already been decided, say; the message says why. |
| 403 | `scope_missing` | The key doesn't have the `sms.senders:write` scope. |

Any request can also be refused for its key, its account or its rate (`key_required`, `invalid_key`, `account_suspended`, `plan_excludes_api`, `address_not_allowed`, `rate_limited`); see [the overview](https://cpaas.fireflo.au/api-reference/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.