Update a test case

View as Markdown
Only the fields you send are changed.

Path parameters

org_idstringRequired
Organization ID
workspace_idstringRequired
Workspace ID
test_suite_idstringRequired
test_case_idstringRequired

Headers

X-API-KeystringRequired
Your workspace API key.

Request

This endpoint expects an object.
namestring or nullOptional1-255 characters
categorystring or nullOptional1-255 characters
user_scenariostring or nullOptional1-20000 characters
expected_behaviorslist of objects or nullOptional
variable_overrideslist of objects or nullOptional
max_turnsinteger or nullOptional1-200

Response

Successful Response
test_case_idstring
namestring
categorystring
user_scenariostring
test_suite_idstring
created_byobject
created_atdatetime
updated_atdatetime
expected_behaviorslist of objectsOptionalDefaults to []
variable_overrideslist of objectsOptionalDefaults to []
max_turnsintegerOptionalDefaults to 50
updated_byobject or nullOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error