---
title: "Set User Read Only Route"
method: PUT
path: "/backoffice/users/{user_id}/read-only"
tags: ["Backoffice"]
---

# Set User Read Only Route

`PUT /backoffice/users/{user_id}/read-only`

Set read-only mode for a user

## Path parameters

- `user_id` string, required

## Request body

- SetReadOnlyRequest
  - `read_only` boolean, required

## Response `200`

User read-only status updated successfully

- User — User
  - `id` string, required
  - `auth_id` string, required
  - `email` string, required
  - `read_only` boolean
  - `language` string, nullable
  - `created_at` string, date-time, nullable

## Other responses

- `404` — User not found
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.dev/toolhouse/apis/toolhouse-api.md) · [All operations](https://skmtc.dev/toolhouse/apis/toolhouse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolhouse/apis/toolhouse-api/revisions/183798ad2f5b?raw)
