Craft icon

Craft

Interact with your Craft documents via the API

Folder → Move Folder

AI-generated

Summary

Move a folder within the Craft workspace by specifying its current folder ID and the target parent folder ID, optionally setting its position at the start or end within the target folder.

Inputs

  • Folder ID (required) — The ID of the folder to move
  • Target Parent ID — The ID of the folder where the source folder will be moved; leave empty to move to root level
  • Position — The position inside the target parent folder where to place the moved folder, either at the start or at the end

Output shape

a single JSON object representing the moved folder's updated metadata or confirmation of move success

The output shape depends on the API response for the move operation; errors are thrown if required inputs are missing or the operation is not supported or permitted by credentials.

Discussion