---
title: "Auth Token Update"
method: POST
path: "/api/v1.admin.auth-token.update"
tags: ["Admin"]
---

# Auth Token Update

`POST /api/v1.admin.auth-token.update`

Update an auth token's properties

## Request body

- AdminAuthTokenUpdateIn
  - `id` string, required
  - `name` string, nullable
  - `expiry_ms` integer, nullable
  - `enabled` boolean, nullable

## Response `200`

- AdminAuthTokenUpdateOut

## Other responses

- `400`
- `401`
- `403`
- `422`

## Changes

- **2026-03-31** `cb1523fc3cdd` — 1 warning
  - the `expiry_ms` request property's min was set to `0.00`
- **2026-03-31** `f62be26d2a53` — 6 breaking, 4 warning
  - the `detail` response's property type/format changed from `string`/`` to `array`/`` for status `422`
  - removed the required property `code` from the response with the `422` status
  - removed the required property `type` from the response with the `400` status
  - removed the required property `type` from the response with the `401` status
  - …6 more

[Change history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.admin.auth-token.update/post.md)

---

[API](https://skmtc.dev/svix/apis/diom-api.md) · [All operations](https://skmtc.dev/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/svix/diom-api/revisions/a13efaccef64/schema)
