Rename or move folder

Rename a folder, move it under another folder, or both in one call. parentId: null moves it back to the top level; omitting parentId leaves it where it is. Moving a folder takes its subfolders and its tests with it. Both halves are applied together, so a refused move never leaves the rename it came with applied.

patch/tests/folders

Request body

folderIdstring required
namestring

The new display name. Omit it to leave the name as it is.

parentIdstring nullable

Move the folder under this one, or null to move it to the top level. Omit the field to leave it where it is. A folder cannot be moved inside itself or one of its own subfolders.

Response

Successful response

{"stackTrail":"paths:/tests/folders:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes