v1

latestOpenAPI 3.0.02026-07-244771176.5 KB
Senders

Delete a sender by phone number

Deletes a sender phone number from the account.

  • If the account does not use parent/child accounts, the API ignores child_account_id and deletes the sender from the authenticated account.
  • If the account is a parent account and you omit child_account_id, the API deletes the sender from the parent account.
  • If you provide child_account_id, the API deletes the sender from that child account.
delete/v2/senders/phone-numbers/{phone_number}

Path parameters

phone_numberstring required

The phone number to delete in E.164 international format, for example 61412312312.

Query parameters

child_account_idstring

Child account ID to delete the sender from. Ignored for accounts without parent/child accounts. If omitted for a parent account, the API deletes the sender from the parent account.

Response

Sender deleted successfully. No content is returned.