---
title: "Upsert a definition"
method: PUT
path: "/definition.yaml"
tags: ["api"]
---

# Upsert a definition

`PUT /definition.yaml`

Upsert a definition

## Response `200`

Definition updated

- UpsertDefinitionResponse — unresolved $ref

## Other responses

- `201` — Definition created

## Changes

- **2022-11-17** `549460d22224` — 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc.dev/kubeshop/apis/tracetest/revisions/49ffca7b5e87?raw)
