For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Chat TestingDelete Scenarios
TestMu AI
StatusCommunityBlog
Chat Testing

Delete Scenarios

Delete scenarios from a chat agent workflow.

DEL
/api/workflows/{workflow_id}/scenarios/delete
Delete Scenarios
curl --request DELETE \
--url "https://agent-testing.lambdatest.com/api/workflows/{workflow_id}/scenarios/delete" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"scenario_ids": []
}'
{
"success": true,
"message": "<string>",
"data": {}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

workflow_idstringrequired

Query Parameters

project_idstringrequired

Project ID

Body

application/json
scenario_idsarray

List of scenario IDs to delete. If None or empty, all scenarios for the project will be deleted.

Response

application/json

Successful Response

successbooleanrequired

Whether the operation was successful

messagestringrequired

Response message

dataobject

Response data

Delete Scenarios
curl --request DELETE \
--url "https://agent-testing.lambdatest.com/api/workflows/{workflow_id}/scenarios/delete" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"scenario_ids": []
}'
{
"success": true,
"message": "<string>",
"data": {}
}