---
title: "POST /v1/users/{userId}/strategic-roles"
method: POST
path: "/v1/users/{userId}/strategic-roles"
---

# POST /v1/users/{userId}/strategic-roles

`POST /v1/users/{userId}/strategic-roles`

## 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/{userId}/strategic-roles`
- Auth: none declared

Create strategic roles for a user.

## Path parameters

- `userId` string, required

## Request body

- object
  - `strategicRoles` string[], required: The strategic roles to be assigned to the user.

## Response `201`

The strategic roles have been created.

- object[]
  - `id` string, uuid, required

## Other responses

- `400`: Bad request.
- `401`: The user is not authorized.
- `500`: An error occurred.

## Changes

- **2026-01-14** `1a84c9639e0b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nhs/apis/admin-api-nhs-innovation-service/changes/v1/users/:userId/strategic-roles/post.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.dev/nhs/apis/admin-api-nhs-innovation-service/revisions/97dbf652314e?raw)
