Update pool{accountSid}/pools/{poolSid}

Update pool parameters. Updates are reflected on each number in the pool.

Note: "numbers" parameter is not supported for this action. Use "Add number to pool" and "Remove number from pool" instead.

Request example:

curl –X PATCH{accountSID}/pools/{poolSid} \
-H 'Content-Type: application/json' \
-d '{
        "name": "My Pool Updated",
        "call_app_sid": "{newApplicationSid}"
    }' \
-u {accountSID}:{authToken}

Response example:

    "sid": "{poolSid}",
    "account_sid": "{accountSid}",
    "name": "My Pool Updated",
    "mode": "xml",
    "call_inbound_mode": "xml",
    "call_outbound_mode": "sip_phone",
    "call_app_sid": "{newApplicationSid}",
    "controller": "",
    "method": "POST",
    "events": "all",
    "numbers": [
    "created": "Thu, 04 Jun 2020 11:42:04 +0000",
    "updated": "Thu, 04 Jun 2020 11:52:04 +0000"

Visitando il sito Web di Apifonica, accetti il nostro utilizzo dei cookie. Leggi la nostra politica sui cookie qui.