Update Account
PUT https://{{axpAPIDomain}}/api/admin/account/v1/accounts/:accountId
This API requires the Account Administrator role.
Updates an account. This is a complete replacement of the existing Account.
Changes to the fields:
* name
* features
Will trigger asynchronous updates for 'name','features' the status of which should be monitored via /accounts:listStatuses
.
The following fields must be unique otherwise a HTTP 409 Conflict
will be returned:
* name
Request Body
{"name"=>"SyncG", "domains"=>[{"domainName"=>"avaya.com", "isDefault"=>true}], "emergencyEmailAddresses"=>["account1@avaya.com"], "accountSize"=>10, "description"=>"Account for SyncG", "addresses"=>[{"addressName"=>"Office", "addressId"=>"8be739b2-e4e3-411e-95aa-61e4c596e8a4", "streetNumber"=>"12B", "streetName"=>"East Street", "addressType"=>"BASEMENT", "addressTypeNumber"=>"12A", "city"=>"Pune", "state"=>"MH", "countryCode"=>"IN", "zip"=>"41103Z", "isDefault"=>true}], "accountProperties"=>[{"name"=>"DNIS", "key"=>"DNIS", "value"=>"+2121334422"}], "organizationNodeTypes"=>[{"name"=>"Account", "position"=>1}, {"name"=>"Location", "position"=>2}], "profiles"=>[{"profileId"=>"AQXSWF", "url"=>"/api/admin/user/v1/accounts/AVSDER/profiles/ASEDFG"}], "features"=>{"voice"=>{"consult"=>true}, "ucs"=>{"provider"=>"MSTeams,ACO"}}, "countryCode"=>"IN", "timezone"=>"Asia/Calcutta"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |