Property description

The move action type moves objects and their children with all attributes, comments, and attachments to a different space (e.g., for archival purposes).

Minimal JSON

{
  "type" : "move",
  "shallowCopyParents": true
  "spacesMappings": [
    {
      "sourceSpacePath": "space/path/1"
      "targetSpacePath": "space/path/2"
    }
}

Nested properties

PropertyDescriptionValuesMandatory
keyKey of the action.stringYes
typemovestringYes
spacesMappingsArray of mappings that define the original space(s) from which the objects are moved and the destination space(s).arrayYes
childrenWorkflowStateKeyKey of the workflow state the object children will have in the new space.stringNo
parentWorkflowStateKeyKey of the workflow state the object parents will have in the new space. Used when shallowCopyParents is true.string
shallowCopyParentsDetermines whether the object parents are also moved. As the parent is not the target of this action, a blank dummy parent will be created in the target space (original parent stays in the source space). The default value is false, meaning the objects are moved to the hierarchy root.booleanNo
targetObjectWorkflowStateKeyKey of the workflow state the object in the new space.stringNo

Space mappings nested properties

PropertyDescriptionValuesMandatory
sourceSpacePathPath to the original space of the objectstringYes
targetSpacePathPath to the new space. If the target space already has an object of the same name, it will be replaced with the most recently moved object.stringYes