...
Get info about logged-in user
GET | /user/info |
---|
Remarks
Login with user permission required
Status codes
- 200 = Successful
- 400 = Bad Request
- 401 = User not authorized to login
- 404 = User not found
- 500 = Internal server error
...
Get all user privileges
GET | /user/privileges |
---|
...
Login with user permission required
Status codes
- 200 = Successful
- 400 = Bad Request
- 401 = User not authorized to login
- 403 = Authentication temporarily blocked
- 404 = User not found
- 423 = User is blacklisted
- 428 = User has "unconfirmed" status
- 500 = Internal server error
...
Get all organizations of user
GET | /user/organizations |
---|
Remarks
Login with user permission required
Status codes
- 200 = Successful
- 304 = Attribute modified
- 400 = Bad Request
- 401 = User not authorized to login
- 403 = Authentication temporarily blocked
- 404 = User not found
- 423 = User is blacklisted
- 428 = User has "unconfirmed" status
- 500 = Internal server error
...
- GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/organizations
...
Create new user
POST | /user |
---|
Remarks
No Login (anonymous) required
Status codes
- 200 = Successful
- 400 = Bad Request
- 401 = User not authorized to login
- 409 = Illegal State
- 500 = Internal server error
...
Delete existing user
DELETE | /user/{id} |
---|
...
Admin permission required
Status codes
- 204 = User successful deleted
- 400 = Bad Request
- 401 = User not authorized to login
- 404 = User not found
- 423 = User is blacklisted
- 428 = User has "unconfirmed" status
- 500 = Internal server error
...