---
title: "Update project TonAPI token"
method: PATCH
path: "/api/v1/services/tonapi/token/{id}"
tags: ["tonapi_service"]
---

# Update project TonAPI token

`PATCH /api/v1/services/tonapi/token/{id}`

## Path parameters

- `id` integer, required

## Query parameters

- `project_id` integer, required

## Request body

- object
  - `name` string, required
  - `limit_rps` number, nullable
  - `origins` string[]
  - `capabilities` TokenCapability[]

## Response `200`

Ok

- Ok
  - `ok` boolean, required

## Other responses

- `400` — Something went wrong on client side
- `403` — Access token is missing or invalid
- `404` — The specified resource was not found
- `500` — Something went wrong on server side

## Changes

- **2025-10-21** `356252841f50` — 2 warning
  - the `limit_rps` request property's max was set to `100000.00`
  - the `limit_rps` request property's min was set to `0.00`
- **2024-10-16** `34074fdf55d4` — 1 info
  - added the new optional request property `capabilities`
- **2024-06-14** `5d8d7caae34c` — 1 info
  - added the new optional request property `origins`

[Change history](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/changes/api/v1/services/tonapi/token/:id/patch.md)

---

[API](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console.md) · [All operations](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonkeeper/rest-api-to-ton-console/revisions/67919bb67f3f/schema)
