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

ArgumentsDescriptionRequired/Conditional/Optional
addressSet this parameter to the sender ID you wish to use. This could a phone number, shortcode or alphanumeric string.Conditional
nameName of the account holder.Required
cityCity of the account holder.Optional
stateState or region of the account.Optional
timezoneThe 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"}