---
title: "Update API Access token by ID"
method: PATCH
path: "/acct-api-token/{id}"
tags: ["Administration"]
---

# Update API Access token by ID

`PATCH /acct-api-token/{id}`

Update API Access token by ID

## Path parameters

- `id` integer, required

## Request body

- XiqUpdateApiAccessTokenRequest
  - `token_expire_in_day` integer, required — The number of days in which token will expire

## Response `200`

OK

- XiqApiAccessToken — The API Access Token
  - `id` integer, required — The unique identifier
  - `create_time` string, date-time, required — The create time in UTC (ISO 8601 format)
  - `update_time` string, date-time, required — The last update time in UTC (ISO 8601 format)
  - `application` string — The application name
  - `access_token` string — The Access Token
  - `grantor` string — The Grantor of the token
  - `generated_on` string, date-time — The create time
  - `expiration` integer — The expiration time
  - `refresh_token` string — The refresh token
  - `client_id` string — The client ID

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
