Replace a case in the draft
Replace a case in the draft. For a published case, call create_test_suite_draft first.
PUT
/v1/projects/{projectId}/test-suites/{testSuiteId}/cases/{caseId}Authorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstring<uuid>requiredtestSuiteIdstring<uuid>requiredcaseIdstring<uuid>requiredRequest body
requiredapplication/jsonnamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullinputanyrequiredWhat the agent gets.
expectedobjecttagsstring[]metadataobjectResponses
200
Response for status 200
case_idstringrequired404
Response for status 404
errorstringrequiredmessagestringcodestringdetailsstring[]409
Response for status 409
errorstringrequiredmessagestringcodestringdetailsstring[]422
Response for status 422
errorstringrequiredmessagestringcodestringdetailsstring[]