Get any user object by id
GET/auth/api/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
The uuid string of the user to get the details for
Responses
- 200
- 401
- 404
If existing and permitted, the user details of the requested user
- application/json
- Schema
- Example (from schema)
Schema
The unique ID of this login user
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.
The plain text username of the user. Must be kept in sync with username in backend.
Currently has no use outside the userpass strategy
All tokens (INCLUDING access tokens) issued to this user before this date are no longer valid.
Used to 'emergency'-Revoke tokens
{
"id": "12345678-90ab-cdef-fedc-ab0987654321",
"neo4jId": "string",
"username": "string",
"revokeTokensBefore": "2024-11-04T19:52:37.916Z"
}
If not logged in or requesting a non-self user and not admin
If no user with the given id was found