v50

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-1534055.9 KB

Create user roles.

post/v1/users/{userId}/roles

Path parameters

userIdstring uuid required

Request body

role'ADMIN' | 'ASSESSMENT' | 'ACCESSOR' | 'QUALIFYING_ACCESSOR' required

Role of the user.

organisationIdstring uuid required

Id of the organisation.

unitIdsstring[] required

Ids of the organisation units.

Response

The created roles.

idstring uuid required

The role id.