Folder›Update Folder By ID
Folder
Update Folder By ID
Update Folder By ID
Update Folder By ID (Rename) curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/folder" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"id": "folder_id",
"action": "update",
"entity_id": "project_id",
"name": "Test Folder - LambdaTest Demo"
}'
Update Folder By ID (Move) curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/folder" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"id": "folder_id",
"action": "move",
"entity_id": "project_id",
"entity_type": "project",
"name": "Test Folder - LambdaTest Demo",
"parent_id": "parent_id",
"serial_no": 1
}'
{
"message": "Folder updated successfully",
"type": "Success"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Update Folder By ID (Rename)
application/jsonUpdate Folder By ID (Move)
application/jsonResponse
application/jsonOK
messagestring
Example: "Folder updated successfully"
typestring
Example: "Success"
Update Folder By ID (Rename) curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/folder" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"id": "folder_id",
"action": "update",
"entity_id": "project_id",
"name": "Test Folder - LambdaTest Demo"
}'
Update Folder By ID (Move) curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/folder" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"id": "folder_id",
"action": "move",
"entity_id": "project_id",
"entity_type": "project",
"name": "Test Folder - LambdaTest Demo",
"parent_id": "parent_id",
"serial_no": 1
}'
{
"message": "Folder updated successfully",
"type": "Success"
}