---
title: "Upserts a new token"
method: PUT
path: "/tokens"
tags: ["api"]
---

# Upserts a new token

`PUT /tokens`

Upserts a new token

## Request body

- … — unresolved $ref; see the full OpenAPI document linked below

## Other responses

- `201` — unresolved $ref

## Changes

- **2024-05-21** `ab4a3143f69e` — 1 info
  - endpoint added
- **2022-11-17** `9ee6203c38fa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/tokens/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)
