Chat Testing›
Chat Testing
Delete Scenarios
Delete scenarios from a chat agent workflow.
DEL
/api/workflows/{workflow_id}/scenarios/delete
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/jsonscenario_idsarray
List of scenario IDs to delete. If None or empty, all scenarios for the project will be deleted.
Response
application/jsonSuccessful Response
successbooleanrequired
Whether the operation was successful
messagestringrequired
Response message
dataobject
Response data