User — data-service
Section titled “User — data-service”Every response below is delivered inside the universal {success, result} envelope; downloads and streams bypass it structurally. See Calling the HTTP API.
Snapshot:
data-service.json· data-service 1.11.0 · 11 operations
POST /v1/users/{userId}/activate
Section titled “POST /v1/users/{userId}/activate”activateUser
Parameters
| Name | In | Required | Type |
|---|---|---|---|
userId | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | Return value of UserController.activateUser |
POST /v1/users/{userId}/deactivate
Section titled “POST /v1/users/{userId}/deactivate”deactivateUser
Parameters
| Name | In | Required | Type |
|---|---|---|---|
userId | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | Return value of UserController.deactivateUser |
POST /v1/users/{userId}/regenerate-app-token
Section titled “POST /v1/users/{userId}/regenerate-app-token”regenerateAppToken
Parameters
| Name | In | Required | Type |
|---|---|---|---|
userId | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | Return value of UserController.regenerateAppToken |
POST /v1/users/{userId}/reset-password
Section titled “POST /v1/users/{userId}/reset-password”resetUserPasswordBySystem
Parameters
| Name | In | Required | Type |
|---|---|---|---|
userId | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | Return value of UserController.resetUserPasswordBySystem |
GET /v1/users/direct-manager
Section titled “GET /v1/users/direct-manager”getUserDirectManager
— Get current user direct manager
Responses
| Status | Description |
|---|---|
200 | UserOrgUnitDto model instance |
GET /v1/users/my-groups
Section titled “GET /v1/users/my-groups”getMyGroups
— Get user profile info
Responses
| Status | Description |
|---|---|
200 | Array of DataEntry model instances |
GET /v1/users/my-orgunit
Section titled “GET /v1/users/my-orgunit”getUserOrgUnitUsers
— Returns the list of users inside the org unit of current person related to the signed in user and the parent org unit and all children org units
Responses
| Status | Description |
|---|---|
200 | Array of DataEntry model instances |
GET /v1/users/profile
Section titled “GET /v1/users/profile”getUserProfile
— Get user profile info
Responses
| Status | Description |
|---|---|
200 | UserProfileDto model instance |
GET /v1/users/state
Section titled “GET /v1/users/state”getUserState
— return the current user state. If a state doesn’t exist for current user, create one with default options and return the newly created state
Responses
| Status | Description |
|---|---|
200 | UserStateDataEntryValue model instance |
PUT /v1/users/state
Section titled “PUT /v1/users/state”updateUserState
— return the current user state. If a state doesn’t exist for current user, create one with default options and return the newly created state
Request body: UserStateDataEntryValueExcluding_user-firstLogin_
Responses
| Status | Description |
|---|---|
200 | UserStateDataEntryValue model instance |
PUT /v1/users/state/reset
Section titled “PUT /v1/users/state/reset”resetUserState
— Reset the current user state
Responses
| Status | Description |
|---|---|
200 | UserStateDataEntryValue model instance |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27