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 Authorization string header required
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/json
Update Folder By ID (Move) application/json Response 200▼
application/json OK
message string
Example: "Folder updated successfully"
type string
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"
}