---
title: "GET /v1/users/{userId}/validate"
method: GET
path: "/v1/users/{userId}/validate"
---

# GET /v1/users/{userId}/validate

`GET /v1/users/{userId}/validate`

Get validation information.

## Path parameters

- `userId` string, uuid, required — Id of the user.

## Response `200`

OK

- object
  - `validations` object[]
    - `rule` 'AssessmentUserIsNotTheOnlyOne' | 'LastQualifyingAccessorUserOnOrganisationUnit' | 'NoInnovationsSupportedOnlyByThisUser' | 'UserHasAnyAdminRole' | 'UserHasAnyInnovatorRole' | 'UserHasAnyAssessmentRole' | 'UserHasAnyAccessorRole' | 'UserHasAnyQualifyingAccessorRole' | 'UserHasAnyAccessorRoleInOtherOrganisation' | 'UserAlreadyHasRoleInUnit' | 'OrganisationUnitIsActive' | 'UserIsAccessorInAllUnitsOfOrg' | 'UserCanHaveAssessmentOrAccessorRole', required
    - `valid` boolean, required
    - `details` unknown

## Other responses

- `400` — Bad request.
- `401` — The user is not authorized to access validation data.
- `500` — An error occurred while fetching the validation data.

## Changes

- **2024-11-07** `bf0b42ebdc02` — 1 breaking
  - the `validations` response's property type/format changed from `object`/`` to `array`/`` for status `200`
- **2023-08-17** `bb9b7f5b0f5a` — 1 warning
  - deleted the `query` request parameter `operation`
- **2023-02-16** `5fbf0b1a3052` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service/changes/v1/users/:userId/validate/get.md)

---

[API](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service.md) · [All operations](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nhs/admin-api-nhs-innovation-service/revisions/e3ae090557ab/schema)
