---
title: "Set current Commissioner state."
method: PUT
path: "/node/commissioner/state"
tags: ["node", "commissioner"]
---

# Set current Commissioner state.

`PUT /node/commissioner/state`

Enable or disable the Commissioner.

## Request body

- string — Can be "enable" or "disable".

## Response `200`

Successful operation.

## Other responses

- `400` — The client sent an invalid request. The client SHOULD perform action(s) to provide valid syntax before retrying the request.
- `409` — Cannot set commissioner state because border router state is not active
- `500` — The server encountered an unexpected error. The client SHOULD retry after a longer period of time.

---

[API](https://skmtc.net/openthread/apis/swagger-openthread-rest-api.md) · [All operations](https://skmtc.net/openthread/apis/swagger-openthread-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openthread/swagger-openthread-rest-api/revisions/7996e8479177/schema)
