---
title: "Update the state"
method: PATCH
path: "/api/v1/services/pro/state"
tags: ["pro_service"]
---

# Update the state

`PATCH /api/v1/services/pro/state`

## Request body

- ProServiceState
  - `state` string, required

## Response `200`

Ok

- object
  - `ok` boolean, required
  - `auth_token` string, 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

- **2024-11-20** `4a33093284b6` — 1 info
  - added the required property `auth_token` to the response with the `200` status
- **2024-03-22** `dbd561304b3b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/changes/api/v1/services/pro/state/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)
