Detach numbers from campaign
msg_remove_numbersRemove phone numbers from a 10DLC campaign. Detached numbers cannot send SMS until re-attached to an approved campaign. Returns success or failure per number.
Instructions
Detach telephone numbers from one of your 10DLC campaigns — those numbers can no longer send SMS until re-attached to an approved campaign. Returns per-TN removed/failed lists (failure reasons: not_found, not_owned, lookup_error, write_error); the response is NOT wrapped in the standard envelope. Errors: INVALID_PAYLOAD (400), NOT_FOUND (404, campaign not owned), TNIQ_ERROR (502).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign ID (messaging-backend UUID, as returned by msg_list_campaigns / msg_create_campaign) | |
| phone_numbers | Yes | Telephone numbers to detach, NANP format, e.g. ["13039813633"] |