Update a Subaccount
POST https://api.plivo.com/v1/Account/{{auth_id}}/Subaccount/{subauth_id}/
Updates the account object by setting the values of the parameters passed. Parameters which are not provided will remain unchanged.
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 | A human-readable name for the subaccount | Required |
enabled | Specify if the subaccount should be enabled. Takes a value of true or false. Defaults to false. | Optional |
Request Body
{"name"=>"Name of SubAccount", "enabled"=>"false"}