---
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
  - `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

- **2026-07-17** `bffcc11719d3` — 1 breaking
  - removed the enum value `mempool` of the request property `capabilities/items/`
- **2026-04-23** `af71bc81cc6d` — 1 info
  - added the new `mempool` enum value to the request property `capabilities/items/`
- **2026-04-22** `bffcc11719d3` — 1 info
  - added the new `cocoon` enum value to the request property `capabilities/items/`
- **2025-10-25** `4a5979d5aed3` — 1 breaking
  - the request property `limit_rps` became not nullable
- **2025-10-25** `7a9b4611f547` — 1 breaking
  - the request property `limit_rps` became not nullable

[Full 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/bffcc11719d3/schema)
