Block an end-user

Block an end-user from the whole app (account-level, non-destructive).

Sets the end-user to status='blocked' so new sessions are rejected (403 end_user_blocked). Reversible with POST …/unblock. Does NOT delete the user, its memories, or its existing sessions — end those via the session lifecycle API.

Authentication

AuthorizationBearer

LoreOS API key, sent as Authorization: Bearer <key>.

Path parameters

external_user_refstringRequired

Request

This endpoint expects a nullable object.
reasonstring or nullOptional<=500 characters

Response

Successful Response

Errors

422
Unprocessable Entity Error