Update Organization Node

PUT https://{{axpAPIDomain}}/api/admin/account/v1/accounts/:accountId/organization-nodes/:organizationNodeId

This API requires the Account Administrator role.

Updates the organization node. This is a complete replacement of the existing Organization Node.

The following fields must be unique otherwise a HTTP 409 Conflict will be returned: * name

Request Body

{"name"=>"PuneLocation", "parentPath"=>"AccountA", "countryCode"=>"IN"}

HEADERS

KeyDatatypeRequiredDescription
appkeystring
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"name":"PuneLocation","parentPath":"AccountA","organizationNodeId":"ACDSFE","url":"/api/admin/account/v1/accounts/AVSDER/organization-nodes/accountA-location1-id","nodeType":"OrganizationNode","countryCode":"IN","accountId":"AVSDER","profiles":[{"profileId":"AQXSWF","url":"/api/admin/user/v1/accounts/AVSDER/profiles/ASEDFG"}],"children":["/api/admin/account/v1/accounts/OHOTAT/organization-nodes/AQXSWF"]}