---
title: "Update auth token (admin)"
method: PUT
path: "/auth-tokens/{tokenId}"
tags: ["Tokens"]
---

# Update auth token (admin)

`PUT /auth-tokens/{tokenId}`

## Path parameters

- `tokenId` string, required

## Request body

- AuthTokenUpdate
  - `name` string
  - `expire_date` string, date-time
  - `limit_calls` integer
  - `active` boolean

## Response `200`

Updated

- IdResponse
  - `data` string
  - `meta` Meta
    - `request_id` string
    - `trace_id` string
    - `pagination` Pagination
      - `limit` integer
      - `next_cursor` string
      - `prev_cursor` string
      - `total` integer
      - `has_more` boolean
    - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Server error

---

[API](https://skmtc.net/sipcapture/apis/homer-next-gen-api.md) · [All operations](https://skmtc.net/sipcapture/apis/homer-next-gen-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipcapture/homer-next-gen-api/revisions/d1828ece5a64/schema)
