Update a Powerpack
POST https://api.plivo.com/v1/Account/{{auth_id}}/Powerpack/{powerpack_uuid}/
Change the Powerpack’s name, stickysender, localconnect or the application to it. Below is the list of arguments that can be passed in this API request, more information can be found here
Arguments | Description | Required/Conditional/Optional |
---|---|---|
name | Must be unique across all Powerpacks in customer's account | Required |
sticky_sender | Sticky sender should be enabled by default. Default value is True. Sticky Sender ensures messages to a particular destination number are always sent from the same source number | Optional |
local_connect | Local connect should be enabled by default. Default value is True. Local connect prioritizes local numbers matched on area code and State over other numbers in the pool | Optional |
application_type | Must be specified if application_id is specified | Conditional |
application_id | Must be set to a valid PHLO or XML App Id or 'none'(String). If not specified (or set to 'none') no application to be associated with phone numbers added to this Powerpack. | Optional |
Request Body
{"name"=>"friendly_name", "sticky_sender"=>"True", "local_connect"=>"True", "application_type"=>"XML", "application_id"=>"application_id can be found from the dashboard"}