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.

Changes

Changed in 3 of the 50 revisions of this API.113

    • the response property / became required for the status

      response-property-became-required

  • 2b43f8cf5d91111See the full diff
    • added the new required request property

      new-required-request-property

    • removed the request property

      request-property-removed

    • added subschema #1 to the request body oneOf list

      request-body-one-of-added

    • endpoint added

      endpoint-added