---
updatedAt: 2025-12-10T06:57:20.000Z
agentTools:
  projectIndex: https://developers.kaleyra.io/llms.txt
---

# Delete Sender ID

Delete Method

The **Delete Sender ID** API allows you to delete the single sender ID or in Bulk.

> 📘 Note:
>
> The maximum number of sender IDs that could be deleted at an instance is 100.

## Prerequisites:

* Sign up for free with kaleyra.io. Before you get started, [create a kaleyra.io account](https://developers.kaleyra.io/docs/create-an-account-in-kcloud) for free and [Create an API Key](https://developers.kaleyra.io/docs/view-api-key-and-sid). To view the API Key and the SID, see [View API Key and SID](https://developers.kaleyra.io/docs/view-api-key-and-sid).
* After you sign up, your account will be on the trial version. You must [complete the KYC](https://developers.kaleyra.io/docs/document-submission-and-approval) to access all the features in Kaleyra.io.

<Callout icon="📘" theme="info">
  ### Notes:

  - It is recommended to use `/sms` endpoints instead of `/message` endpoints for more efficient API requests and responses.
  - Sending SMS using template is currently supported only in the IN region; in other regions, templates can be used only when sending a campaign through the User Interface
</Callout>

<br />

## Base URL

`https://<api_domain>/v1/<SID>`

## API Domain and Value

| api\_domain | Value             |
| :---------- | :---------------- |
| IN pod      | api.in.kaleyra.io |
| SG Pod      | api.kaleyra.io    |
| EU Pod      | api.eu.kaleyra.io |

## API request to delete the sender ID

To delete the sender ID, use the `/messages/sender` endpoint with the following request method:

## Request Format

The following is the request format to delete the sender ID:

```curl
curl --location --request DELETE 'https://<api_domain>/v1/<sid>/messages/sender' \
--header 'api-key: <api-key>' \
--header 'content-type: <content_type>' \
--data '{
    "sender": [<sender_id1>, <sender_id2>]
}'
```

## Sample Request Format

The following is the sample request format to delete the sender ID:

```curl
curl --location --request DELETE 'https://api.in.kaleyra.io/v1/HXXXXXXX071IN/messages/sender' \
--header 'api-key: Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3' \
--header 'content-type: application/json' \
--data '{
    "sender": ["ADPAI", "JSONSEND"]
}'
```

## Parameters and Data Types

Following is the list of parameters and data types supported for deleting the sender ID:

| Parameter     | Data Type | Description                           | Example                        | Mandatory? |
| :------------ | :-------- | :------------------------------------ | :----------------------------- | :--------- |
| sid           | String    | Account SID (Security Identifier).    | HXXXXXXX071IN                  | Yes        |
| api\_key      | String    | Your API Key generated by Kaleyra.io. | Axxxxxxxxxxxxxxxxxxxxxxxxxxxx3 | Yes        |
| content\_type | String    | The format in which the data is sent. | application/json               | Yes        |

The following table describes the attribute used for the sender ID array.

| Parameter  | Data Type       | Description                                                                    | Example | mandatory? |
| :--------- | :-------------- | :----------------------------------------------------------------------------- | :------ | :--------- |
| sender\_id | Array of string | The array of alphanumeric sender IDs of the registered business to be deleted. | ADPAI   | Yes        |

## Sample Success Response to delete the Sender ID

The following success message appears with the status 200 Accepted.

```json
{
    "code": "MSG108",
    "message": "Sender ID(s) deleted successfully",
    "data": [],
    "error": {}
}
```

## Sample Failure Response to delete the Sender ID

The following is the failure response to delete the sender ID.

```json
{
    "code": "RBC195",
    "message": "Sender key is Mandatory in the body. And cannot be empty",
    "data": [],
    "error": {}
}
```