---
title: "Upsert new test"
method: PUT
path: "/tests"
tags: ["resource-api"]
---

# Upsert new test

`PUT /tests`

Upsert new test action

## Request body

- TestResource — unresolved $ref

## Response `200`

successful operation

- TestResource — unresolved $ref

## Changes

- **2023-12-14** `0a6d28e9f88d` — 1 info
  - endpoint added
- **2022-11-17** `9ee6203c38fa` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/tests/put.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/tracetest/revisions/fad7f202ff22/schema)
