Skip to main content

Get any user object by id

GET 

/login/user/:id

Get the user object of any user by its id.

Needs admin permission for any user other than the one sending the request (equivalen to self query).

Request

Path Parameters

    id uuidrequired

    The uuid string of the user to get the details for

Responses

If existing and permitted, the user details of the requested user

Schema
    id stringrequired

    The unique ID of this login user

    neo4jId stringnullablerequired

    The id of this user in the neo4j database.

    If null after initialization, there was an error. Must be unique as relation to GropiusUser is 1:1.

    username stringrequired

    The plain text username of the user. Must be kept in sync with username in backend.

    Currently has no use outside the userpass strategy

    revokeTokensBefore date-timerequired

    All tokens (INCLUDING access tokens) issued to this user before this date are no longer valid.

    Used to 'emergency'-Revoke tokens

Loading...