Test Cases›
Test Cases
Update Test Case
Update a test case including its steps, metadata, and dynamic fields. This endpoint replaces the separate Test Steps APIs (POST /api/v1/test-steps and PUT /api/v1/test-steps/{test_step_id}). The snapshot_id from the GET response must be included in the request body.
PUT
/api/v2/test-cases
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/jsonidstringrequired
The test case ID to update.
project_idstringrequired
The project ID the test case belongs to.
titlestring
descriptionstring
typestring
preconditionsstring
statusstring
prioritystring
automation_statusstring
external_idstring
attachmentsarray
dynamic_fieldsarray
tagsarray
commit_messagestringrequired
snapshot_idstringrequired
Required. Must be taken from the GET /api/v2/test-cases/{test_case_id} response.
step_eventsarray
overrideboolean
Response
application/jsonOK
messagestring
Example:
"Test case updated successfully"typestring
Example:
"Success"dataobject