Skip to main content

Lock a user​

Lock an existing user and change the state 'locked'. The user will not be able to log in anymore. Use lock user when the user should temporarily not be able to log in because of an event that happened (wrong password, etc.)

The endpoint returns an error if the user is already in the state 'locked'.

Path Parameters
    userId string required

    unique identifier of the user.

Responses

User successfully locked


Schema
    details object
    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to
Loading...