---
title: "(Auth policies: user:administer)"
method: PUT
path: "/api/users/lockout"
tags: ["AppUser"]
---

# (Auth policies: user:administer)

`PUT /api/users/lockout`

## Request

- Base URL: `https://api.ganjoor.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ganjoor.net/api/users/lockout`
- Auth: API key in header `Authorization`

## Request body

- LockoutUserViewModel
  - `userId` string, uuid
  - `cause` string, nullable
  - `lockoutEnd` string, date-time

## Response `200`

OK

- boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-10-16** `493e82d8a523`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ganjoor/apis/rmuseum-api/changes/api/users/lockout/put.md)

---

[API](https://skmtc.dev/ganjoor/apis/rmuseum-api.md) - [All operations](https://skmtc.dev/ganjoor/apis/rmuseum-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ganjoor/apis/rmuseum-api/revisions/143b912b1085?raw)
