Docs

Delete pool

https://api.apifonica.com/v2/accounts/{accountSid}/pools/{poolSid}

Delete pool and release all numbers. Each number properties are reset to default values:

ParameterDefault Value
name
pool_sid
null
call_app_sid
default_call_app_sid

Note: call_inbound_mode and call_outbound_mode remain unchanged.

Request example:

curl –X DELETE https://api.apifonica.com/v2/accounts/{accountSID}/pools/{poolSid} \
-u {accountSID}:{authToken}

Response example:

{
    "status_code": 204,
    "status_message": "NO CONTENT"
}