tonapi_service

Update project TonAPI token

patch/api/v1/services/tonapi/token/{id}

Path parameters

idinteger required

Token ID

Query parameters

project_idinteger required

Project ID

Request body

namestring required
limit_rpsnumber
originsstring[]
capabilitiesTokenCapability[]

Example request

{
  "name": "My token",
  "limit_rps": 5
}

Response

Ok

okboolean required

Example response

{
  "ok": true
}

Changes

Changed in 8 of the 50 revisions of this API.324

    • removed the enum value mempool of the request property capabilities/items/

      request-property-enum-value-removed

    • added the new mempool enum value to the request property capabilities/items/

      request-property-enum-value-added

    • added the new cocoon enum value to the request property capabilities/items/

      request-property-enum-value-added

    • the request property limit_rps became not nullable

      request-property-became-not-nullable

    • the request property limit_rps became not nullable

      request-property-became-not-nullable

    • the limit_rps request property's max was set to 100000.00

      request-property-max-set

    • the limit_rps request property's min was set to 0.00

      request-property-min-set

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property capabilities

      new-optional-request-property

    • added the new optional request property origins

      new-optional-request-property