Phone numbers
Release a phone number
Changed onReleases a phone number from the account.
delete/phone_numbers/{id}
Request
- Base URLhttps://api.surge.app
- URLhttps://api.surge.app/phone_numbers/{id}
- AuthHTTP bearer
Path parameters
idstring required
The ID of the phone number to release.
Example:pn_01j9a43avnfqzbjfch6pygv1td
Response
Released phone number
Example response
{
"campaign": {
"attachment_status": "attached",
"id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2"
},
"campaign_id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
"id": "pn_01jsjwe4d9fx3tpymgtg958d9w",
"metadata": {
"location": "Downtown store"
},
"name": "(801) 555-1234",
"number": "+18015551234",
"type": "local"
}Changes
- info
added the required property
to the response with the status
- info
- info
response property
campaign_iddeprecated - info
added the required property
to the response with the status
- info