---
title: "Renew Token"
method: POST
path: "/api/admin/tokens/{token_id}/renew"
tags: ["tokens"]
---

# Renew Token

`POST /api/admin/tokens/{token_id}/renew`

## Request

- Base URL: `https://firstdata.deepminer.com.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://firstdata.deepminer.com.cn/api/admin/tokens/{token_id}/renew`
- Auth: HTTP bearer

续期 Token

延长指定 Token 的到期时间，不重新签发。

## Path parameters

- `token_id` integer, required

## Query parameters

- `extend_days` integer, nullable: 续期天数，默认使用系统配置

## Response `200`

Successful Response

- TokenRenewResponse: Token 续期响应
  - `success` boolean, required
  - `new_expires_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepminer/apis/firstdata-mcp-apply-system.md) · [All operations](https://skmtc.dev/deepminer/apis/firstdata-mcp-apply-system/llms.txt) · [OpenAPI document](https://skmtc.dev/deepminer/apis/firstdata-mcp-apply-system/revisions/f4a3501fb064?raw)
