Delete a folder
DELETE
/projects/:project_id/folders/:folder_id
Base URL
https://test-management.testsigma.com/api/v1
Deletes a specific folder within a project.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →PATH PARAMETERS
project_id | Unique identifier of the project that contains the folder. |
folder_id | Unique identifier of the folder to delete. |
RESPONSE ATTRIBUTES
message | Status message indicating the result of the deletion; may be empty. |
REQUEST
curl -X DELETE \
'https://test-management.testsigma.com/api/v1/projects/:project_id/folders/:folder_id' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://test-management.testsigma.com/api/v1/projects/:project_id/folders/:folder_id', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.delete(
'https://test-management.testsigma.com/api/v1/projects/:project_id/folders/:folder_id',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"message": ""
}