Skip to main content

Move a unit under a new parent

PUT 

/nevisidm/api/core/v1/:clientExtId/units/:extId/children/:childExtId

Since: 2.79.0

Required permission(s): AccessControl.UnitModify

Moves the child unit under the specified parent unit within the same client.

This operation changes the unit hierarchy. The child unit and all its descendants become part of the new parent's subtree. A unit cannot be moved under one of its own descendants, as this would create a circular hierarchy.

Request

Path Parameters

    clientExtId stringrequired

    External ID of the client.

    Example: client-123
    extId stringrequired

    External ID of the new parent unit.

    Example: unit-123
    childExtId stringrequired

    External ID of the child unit to move.

    Example: child-123

Responses

Unit moved successfully

Loading...