githubEdit

User endpoints

Return user

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
chevron-right
200

The user.

application/json

User

authenticationProviderTypestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
createdstring · date-timeOptional

Creation date of the user

emailstringOptional

The email of the user

Example: [email protected]
facilityLimitationsstring[]Optional

Facilities where at least one role of the user has access to. Not present if the user has at least one role which is unrestricted

firstnamestringRequired

The first name of the user

Example: John
idstringRequired

The id of the user

lastModifiedstring · date-timeOptional

Last modification date of the user

lastnamestringRequired

The last name of the user

Example: Doe
localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
usernamestringRequired

The username of the user

Example: johndoe
versionnumberRequired

Version of the user

Example: 1
get
/api/users/{userId}

Get user roles

get

Returns the roles of a user.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
chevron-right
200

The roles of the user.

No content

get
/api/users/{userId}/permissions

No content

List users

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
sizenumber · min: 1 · max: 100OptionalDefault: 25
startAfterIdstringOptional
orderBystringOptional

Order the users by this field

facilityIdstringOptional

Filter the users by this facility

includeAdminUsersbooleanOptional

Include all admins in the result (only applicable if facilityId is set)

Responses
chevron-right
200

The users were successfully returned.

application/json

User

authenticationProviderTypestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
createdstring · date-timeOptional

Creation date of the user

emailstringOptional

The email of the user

Example: [email protected]
facilityLimitationsstring[]Optional

Facilities where at least one role of the user has access to. Not present if the user has at least one role which is unrestricted

firstnamestringRequired

The first name of the user

Example: John
idstringRequired

The id of the user

lastModifiedstring · date-timeOptional

Last modification date of the user

lastnamestringRequired

The last name of the user

Example: Doe
localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
usernamestringRequired

The username of the user

Example: johndoe
versionnumberRequired

Version of the user

Example: 1
get
/api/users

Delete user

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
chevron-right
200

The deleted user.

No content

delete
/api/users/{userId}

No content

Update user

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Body

UserPatchActions

versionnumberRequired

The version of the user to modify

Responses
chevron-right
200

The modified user.

application/json

User

authenticationProviderTypestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
createdstring · date-timeOptional

Creation date of the user

emailstringOptional

The email of the user

Example: [email protected]
facilityLimitationsstring[]Optional

Facilities where at least one role of the user has access to. Not present if the user has at least one role which is unrestricted

firstnamestringRequired

The first name of the user

Example: John
idstringRequired

The id of the user

lastModifiedstring · date-timeOptional

Last modification date of the user

lastnamestringRequired

The last name of the user

Example: Doe
localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
usernamestringRequired

The username of the user

Example: johndoe
versionnumberRequired

Version of the user

Example: 1
patch
/api/users/{userId}

Creates user

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

UserForCreation

emailstringOptional

The email of the user

Example: [email protected]
firstnamestringRequired

The first name of the user

Example: John
lastnamestringRequired

The last name of the user

Example: Doe
localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
passwordstringRequired

The password of the user

Example: elephantMangoDance123
usernamestringRequired

The username of the user

Example: johndoe
Responses
post
/api/users

List users (search)

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Search for User

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

UserSearchPayload

afterstringOptional

The cursor to start after for forward pagination. The value is provided in the pageInfo.endCursor field of the response. Cannot be used with before or last.

beforestringOptional

The cursor to start before for backward pagination. The value is provided in the pageInfo.startCursor field of the response. Cannot be used with after or size (first).

lastnumber · min: 1 · max: 250Optional

Number of items to return for backward pagination. Cannot be used with 'size' (first). Default: 20.

sizenumber · min: 1 · max: 250Optional

Number of items to return for forward pagination. Cannot be used with 'last'. Default: 20.

startAfterIdstringOptionalDeprecated

The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.

Responses
chevron-right
200

Your search result

application/json

UserPaginatedResult

totalnumberOptional

The total number of items matching the search criteria. Only filled, if withTotal is set to true in the search options.

post
/api/users/search

Call user action

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Executes an action to manipulate my user.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

User action was successfully executed.

application/json

User

authenticationProviderTypestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
createdstring · date-timeOptional

Creation date of the user

emailstringOptional

The email of the user

Example: [email protected]
facilityLimitationsstring[]Optional

Facilities where at least one role of the user has access to. Not present if the user has at least one role which is unrestricted

firstnamestringRequired

The first name of the user

Example: John
idstringRequired

The id of the user

lastModifiedstring · date-timeOptional

Last modification date of the user

lastnamestringRequired

The last name of the user

Example: Doe
localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
usernamestringRequired

The username of the user

Example: johndoe
versionnumberRequired

Version of the user

Example: 1
post
/api/users/me/actions
Deprecated

Update me user

patch

This part of the API is deprecated. For details please check the api-release-life-cycle documentationarrow-up-right. Update my own data.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

ModifyUserPersonalData

firstnamestringOptional

The new firstname of the user

lastnamestringOptional

The new lastname of the user

localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
Responses
chevron-right
200

Updating my data was successful.

application/json

User

authenticationProviderTypestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
createdstring · date-timeOptional

Creation date of the user

emailstringOptional

The email of the user

Example: [email protected]
facilityLimitationsstring[]Optional

Facilities where at least one role of the user has access to. Not present if the user has at least one role which is unrestricted

firstnamestringRequired

The first name of the user

Example: John
idstringRequired

The id of the user

lastModifiedstring · date-timeOptional

Last modification date of the user

lastnamestringRequired

The last name of the user

Example: Doe
localestring · enumOptional

This part of the API is in Beta status. For details please check the api-release-life-cycle documentation.ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)

Example: de_DEPossible values:
usernamestringRequired

The username of the user

Example: johndoe
versionnumberRequired

Version of the user

Example: 1
patch
/api/users/me

Return effective permissions

get

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Returns the effective permissions of the user.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

The effective permissions of the user.

application/json

EffectivePermissionsResponse

userIdstringRequired

User ID of the current user

get
/api/users/me/effectivepermissions

Last updated