Move a test case folder
moveFolderIdempotent
Moves a test case folder to a different parent folder. Use targetParentId=0 to move it to root level. Rejects moves that would create a circular hierarchy. A move changes the folder's '_etag' and returns the new one - pass that to a later 'editFolder'.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project ID (number or string), project key or part of the project name | |
| folderId | Yes | The id of the folder to move | |
| targetParentId | Yes | The id of the target parent folder. Use 0 to move the folder to the root level. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _etag | No | Conflict tag of the entity - pass it to an edit tool's '_etag' to have that edit rejected if somebody changed the entity in the meantime. Empty for an entity that carries no tag yet. | |
| status | Yes | ||
| folderId | No |