POST
/
v1
/
pathway
/
folders
/
move
Move Pathway
curl --request POST \
  --url https://app.luly.ai/api/v1/pathway/folders/move \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "pathway_id": "<string>",
  "folder_id": "<string>"
}'
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}

Headers

authorization
string
required
Your API key for authentication.

Body Parameters

pathway_id
string
required
The ID of the pathway to move.
folder_id
string
The ID of the destination folder. If null, the pathway will be moved to the root level.

Response

pathway_id
string
The ID of the moved pathway.
old_folder_id
string
The ID of the original folder.
new_folder_id
string
The ID of the new folder, or null if moved to root level.
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}