Update the account details
POST https://api.plivo.com/v1/Account/{{auth_id}}/
Updates the Account object by setting the values of the parameters passed. Parameters which are not provided will remain unchanged. This request accepts only the name, city, state, timezone and address as parameters.
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 |
---|---|---|
address | Set this parameter to the sender ID you wish to use. This could a phone number, shortcode or alphanumeric string. | Conditional |
name | Name of the account holder. | Required |
city | City of the account holder. | Optional |
state | State or region of the account. | Optional |
timezone | The time zone used in the Plivo dashboard for this account. A list of possible time zone values is maintained at the IANA Time Zone Database. | Optional |
Request Body
{"address"=>"Test address", "name"=>"Test name", "city"=>"Test city", "state"=>"Test state", "timezone"=>"Test timezone"}