# 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 Security: bearer ## Path parameters: - `userId` (string, required) ## Response 200 fields