NOT IMPLEMENTED! Update an existing user object
DELETE/login/user/:id
NOTE: Not implemented yet. Will always fail.
Permanently deletes an existing user by its id.
Needs Admin permissions
Request
Path Parameters
id uuidrequired
The uuid string of the existing user to edit
Responses
- 200
- 404
If sucessful, the updated user object
- application/json
- Schema
- Example (from schema)
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
{
"id": "12345678-90ab-cdef-fedc-ab0987654321",
"neo4jId": "string",
"username": "string",
"revokeTokensBefore": "2024-07-03T21:52:34.359Z"
}
If no user with the given id could be found
Loading...