Delete a sender by phone number
Changed onDeletes a sender phone number from the account.
- If you omit child_account_id, the API deletes the sender from the authenticated account.
- If you provide child_account_id, the API deletes the sender from that account: your own account or one of your child accounts. The API returns 404 Not Found for an account that isn't visible to you, and 403 Forbidden for one that's visible but you don't manage. Before these responses were added, an account you couldn't use returned 400 Bad Request.
Request
- Base URLhttps://api.transmitmessage.com
- AuthAPI key in header x-api-key
Path parameters
The phone number to delete in E.164 international format, for example 61412312312.
Query parameters
The account to delete the sender from, your own account or one of your child accounts. If omitted, the API deletes the sender from the authenticated account.
Response
Sender deleted successfully. No content is returned.
Changes
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - info
added the non-success response with the status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the required property
to the response with the status
- breaking