Delete Scenario
This API allows the deletion of a single test scenario identified by its scenarioId
. The user must have the appropriate authority (SCENARIO_DELETE
) to access this endpoint.
Endpoint Information
URL:
https://testinium.io/Testinium.RestApi/api/scenarios/{scenarioId}
Method:
DELETE
Authentication: Required (
Bearer Token
)Headers: Required (
current-company-id: <your_company_id>
)
Path Parameters
scenarioId
Long
The ID of the test scenario that needs to be deleted.
Response
Response Fields
true
Boolean
Indicates that the scenario was successfully deleted.
true: The scenario was successfully deleted.
false: An error occurred while attempting to delete the scenario.
Error Codes
400
INVALID_REQUEST
The request is invalid (e.g., missing or malformed parameters).
404
SCENARIO_NOT_FOUND
The scenario with the specified ID does not exist.
403
FORBIDDEN
The user does not have permission to delete the scenario.
500
SYSTEM_INTERNAL_ERROR
An internal system error occurred during the process.
Example Request
Last updated