UserProfile
UserProfile
GetMyProfile
Return current profile of the current user
Request
GET /api/manage/v1/UserProfile
Responses
| Status Code | Description | Samples |
|---|---|---|
| 200 | Succesfully returned |
UpdateMyProfile
Update profile of the current user
This method is only allowed for local sign in via intranet
Request
PUT /api/manage/v1/UserProfile
Parameters
| Name | Type | Value | Notes |
|---|---|---|---|
| body |
Responses
| Status Code | Description | Samples |
|---|---|---|
| 204 | No Content |
|
| 400 | The request is wrong |
|
| 200 | Succesfully updated |
GetUserProfile
Return user profile by user identifier. If the user did not provide information about himself or blocked, then the endpoint will return an empty model. (only id)
Request
GET /api/manage/v1/UserProfile/{userId}
Parameters
| Name | Type | Value | Notes |
|---|---|---|---|
| *userId | string |
Responses
| Status Code | Description | Samples |
|---|---|---|
| 200 | Succesfully returned |
|
| 404 | User not found |
Definitions
UserProfileVM
| Name | Type | Notes |
|---|---|---|
| id | string | |
| name | string | |
| username | string | |
| string | ||
| isReadOnly | boolean | |
| $t | string |
UpdateUserProfileVM
| Name | Type | Notes |
|---|---|---|
| name | string | |
| username | string | |
| string (email) | ||
| passwordNew | string | |
| passwordNew2 | string | |
| $t | string |
ProblemDetails
| Name | Type | Notes |
|---|---|---|
| type | string | |
| title | string | |
| status | integer (int32) | |
| detail | string | |
| instance | string |