---
title: "Update System Account Access Token"
method: PATCH
path: "/v3/system-accounts/{accountId}/access-tokens/{tokenId}"
tags: ["System Accounts - Access Tokens"]
---

# Update System Account Access Token

`PATCH /v3/system-accounts/{accountId}/access-tokens/{tokenId}`

Updates the specified access token. Returns a 409 if the updated name is the same as another token belonging to the specified system user.

## Request body

- object
  - `name` string, required — Name of the system account access token.

## Response `200`

A response including a single system account access token.

- SystemAccountAccessToken — Schema of the system account access token.
  - `id` string, uuid — ID of the system account access token.
  - `name` string — Name of the system account access token.
  - `created_at` string, date-time — Timestamp of when the system account access token was created.
  - `updated_at` string, date-time — Timestamp of when the system account access token was last updated.
  - `expires_at` string, date-time — Timestamp of when the system account access token will expire.
  - `last_used_at` string, date-time — Timestamp of when the system account access token was last used.

## Other responses

- `401` — Unauthenticated
- `403` — Unauthorized
- `404` — Not Found
- `409` — Conflict

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/revisions/68eab1ba2ab7/schema)
