Skip to main content
FolderUpdate Folder By ID
TestMu AI
StatusCommunityBlog
Folder

Update Folder By ID

Update Folder By ID

PUT
/api/v1/folder
Update Folder By ID
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": "<id>",
"name": "<name>",
"description": "<description>",
"parent_folder_id": "<parent_folder_id>"
}'
{
"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.

Body

application/json
idstring
namestring
descriptionstring
parent_folder_idstring

Response

application/json

OK

messagestring
Example: "Folder updated successfully"
typestring
Example: "Success"
Update Folder By ID
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": "<id>",
"name": "<name>",
"description": "<description>",
"parent_folder_id": "<parent_folder_id>"
}'
{
"message": "Folder updated successfully",
"type": "Success"
}