---
title: "Edit existing auth token"
method: PATCH
path: "/v1/auth"
tags: ["Auth"]
---

# Edit existing auth token

`PATCH /v1/auth`

## Request body

- ApiEditAuthTokenRequest
  - `token` string, required
  - `name` string
  - `hourly_limit` integer
  - `options` ApiAuthTokenOption[]

## Response `200`

token

- ApiAuthToken
  - `token` string, required
  - `name` string, required
  - `hourly_limit` integer
  - `options` ApiAuthTokenOption[]

## Other responses

- `default` — Some error during request processing

---

[API](https://skmtc.net/swap/apis/swap-coffee-api.md) · [All operations](https://skmtc.net/swap/apis/swap-coffee-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/swap/swap-coffee-api/revisions/fd1067547679/schema)
