Create a user.

Request

  • Base URL
    https://nhse-${ENV}-innovation-service-admin-functions.azurewebsites.net/api
  • URL
    https://nhse-${ENV}-innovation-service-admin-functions.azurewebsites.net/api/v1/users
  • Auth
    none declared

Request body

givenNamestring required

Given name of the user.

surnamestring required

Surname of the user.

emailstring email required

Email of the user.

strategicRolesstring[]

Strategic roles to be assigned to the user.

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 user has been created.

idstring uuid required

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • warning

      removed the request property

    • info

      added the new optional request property