Create a new user.
Successful operation
Successful operation
Unprocessable Content
{- "email": "titan@nordantech.com",
- "access": true
}
{- "success": true,
- "hash": "4f8036f4218eda08b797f832fb1c2616c92dbbe5",
- "data": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "titan@nordantech.com",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "domain": "nordantech.com",
- "login_confirmation_channel": 1,
- "language": 0,
- "settings": {
- "email_reports": true,
- "login_confirmation": false,
- "locale": 0,
- "statefulness": true
}, - "status": 2,
- "model": "User",
- "user_invitation": null,
- "user_hub_permission": {
- "hash": "77d545db7db581a9040bb084463ef2a8f3d0bf49",
- "umask": 1,
- "created_time": "2024-03-19T11:06:43.000000Z",
- "modified_time": "2024-03-19T11:06:43.000000Z",
- "modified_user_time": "2024-03-19T11:06:43.000000Z",
- "model": "UserHubPermission"
}
}, - "timestamp": 1710846404017
}
Get all users of the authenticated hub.
Successful operation
Unprocessable Content
{- "success": true,
- "hash": "88edf5a107033a8bc38a5020b9b377d44c3514e1",
- "data": [
- {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "domain": "nordantech.com",
- "login_time": "2022-08-23T15:34:23.000000Z",
- "login_confirmation_channel": 1,
- "language": 0,
- "settings": {
- "email_reports": true,
- "login_confirmation": false,
- "locale": 0,
- "statefulness": true
}, - "status": 1,
- "model": "User",
- "image": null,
- "user_invitation": null,
- "user_hub_permission": {
- "hash": "60d5d8b00cc525536e03a43c6845da87616c4540",
- "umask": 4,
- "created_time": "2022-06-27T09:48:05.000000Z",
- "modified_time": "2022-06-27T09:48:05.000000Z",
- "modified_user_time": "2022-06-27T09:48:05.000000Z",
- "model": "UserHubPermission"
}
}, - {
- "id": 2,
- "hash": "a13b1b362d914d12bbcf5de981e3a7f53d00a8d0",
- "name": "Uli Hoeneß",
- "first_name": "Uli",
- "last_name": "Hoeneß",
- "position": "CEO",
- "department": "Sausage factory",
- "organization": "Nordantech",
- "email": "knacki@nordantech.com",
- "domain": "nordantech.com",
- "login_time": "2022-08-22T16:10:04.000000Z",
- "login_confirmation_channel": 3,
- "language": 0,
- "settings": {
- "email_reports": true,
- "login_confirmation": true,
- "locale": 0,
- "statefulness": true
}, - "status": 1,
- "model": "User",
- "image": {
- "id": 2,
- "hash": "7eacd79a0e9a4bd2f61c8b53f3cbba5166f73ee6",
- "extension": "jpg",
- "mime": "image/jpeg",
- "size": 133912,
- "created_time": "2022-06-29T15:34:02.000000Z",
- "modified_time": "2022-08-22T10:09:17.000000Z",
- "modified_user_time": "2022-06-29T15:34:02.000000Z",
- "model": "Image"
}, - "user_invitation": null,
- "user_hub_permission": {
- "hash": "79cadf502e6f6b8e9b8f70fa4a24159f15efbbd0",
- "umask": 1,
- "created_time": "2022-06-27T11:02:43.000000Z",
- "modified_time": "2022-06-27T11:02:43.000000Z",
- "modified_user_time": "2022-06-27T11:02:43.000000Z",
- "model": "UserHubPermission"
}
}
], - "meta": {
- "page": 1,
- "first": 1,
- "last": 2,
- "total": 2,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1661337037569
}
Get the current user.
Successful operation
Not Found
{- "success": true,
- "hash": "196da89a01df91329217060d197473d289ca471c",
- "data": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "domain": "nordantech.com",
- "alias": "titan",
- "mobile": "",
- "password_modified_time": "2022-05-04T16:51:37.000000Z",
- "password_age": 0,
- "password_age_relative_time": "1 hour ago",
- "login_confirmation_channel": 1,
- "language": 0,
- "settings": {
- "email_reports": true,
- "login_confirmation": false,
- "locale": 0,
- "statefulness": true
}, - "status": 1,
- "model": "User",
- "image": null,
- "user_email_verification": null,
- "user_mobile_verification": null
}, - "timestamp": 1661337843347
}
Update a user.
A JSON object containing user information.
Successful operation
Not Found
Unprocessable Content
{- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email_reports": true,
- "alias": "Titan"
}
{- "success": true,
- "hash": "e374e0f7088bd1f76525310f13524074845c2a6c",
- "data": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "domain": "nordantech.com",
- "alias": "titan",
- "mobile": "",
- "password_modified_time": "2022-05-04T16:51:37.000000Z",
- "password_age": 0,
- "password_age_relative_time": "2 minutes ago",
- "login_confirmation_channel": 1,
- "language": 0,
- "settings": {
- "email_reports": true,
- "login_confirmation": false,
- "locale": 0,
- "statefulness": true
}, - "status": 1,
- "model": "User"
}, - "timestamp": 1653301097000
}
Upload an image.
A JSON object containing image information.
Successful operation
Unprocessable Content
{- "success": true,
- "hash": "34c3e57cf9b991d468bd8cf8114582bc4941df3e",
- "data": {
- "id": 5,
- "hash": "ee5b1b0790292a6fd7a24fcf62ad503071e6fdaf",
- "extension": "png",
- "mime": "image/png",
- "size": 174303,
- "created_time": "2022-09-02T15:27:11.000000Z",
- "modified_time": "2022-09-02T15:27:11.000000Z",
- "modified_user_time": "2022-09-02T15:27:11.000000Z",
- "model": "Image",
- "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}
}, - "timestamp": 1662132431064
}
Replace a user as the responsible user and the strategic user in all of his/her activities, measures, packages, projects and programs of the authenticated hub.
A JSON object containing user information.
Successful operation
Unprocessable Content
{- "user": "string",
- "finished": false
}
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1661340111804
}