---
title: "Update a test case"
method: PUT
path: "/api/v1/test/update"
tags: ["Tests"]
---

# Update a test case

`PUT /api/v1/test/update`

Update an existing test case

## Request body

- object
  - `testId` integer, required
  - `title` string, required
  - `description` string, nullable
  - `sectionId` integer, nullable
  - `new_section` string, nullable
  - `projectId` integer, required
  - `squadId` integer, nullable
  - `new_squad` string, nullable
  - `preConditions` string, nullable
  - `steps` string, nullable
  - `expectedResult` string, nullable
  - `priorityId` integer, required
  - `typeId` integer, nullable
  - `automationStatusId` integer, required
  - `testCoveredById` integer, nullable
  - `platformId` integer, nullable
  - `labelIds` integer[], required
  - `jiraTicket` string, nullable
  - `defects` string, nullable
  - `automationId` string, nullable
  - `additionalGroups` string, nullable

## Response `200`

Test updated successfully

---

[API](https://skmtc.net/dream-horizon-org/apis/checkmate-test-management-api.md) · [All operations](https://skmtc.net/dream-horizon-org/apis/checkmate-test-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dream-horizon-org/checkmate-test-management-api/versions/f818f4b6fb31/schema)
