# Lock user

Lock a user.

A locked user cannot sign in or use the system globally, regardless of account (tenant). Provide the user's ID as a path parameter.

A valid environment token is required to call this endpoint. You can obtain it from the environment authentication route.

Endpoint: POST /resources/users/v1/{userId}/lock
Version: 1.0
Security: bearer

## Security:

  - `bearer` (unknown)
    http bearer JWT

## Path parameters:

  - `userId` (string, required)

