---
title: "POST /api/v1/User/setroles"
method: POST
path: "/api/v1/User/setroles"
tags: ["User"]
---

# POST /api/v1/User/setroles

`POST /api/v1/User/setroles`

## Request body

- SetUserRolesRequest
  - `Items` SetUserRoles[], nullable
    - `UserId` string, guid
    - `Roles` string[], nullable

## Response `200`

- SetUserRolesResult
  - `Succeeded` boolean
  - `Message` string, nullable
  - `Code` string, nullable
  - `Results` object[], nullable
    - `Succeeded` boolean
    - `Message` string, nullable
    - `Code` integer

---

[API](https://skmtc.dev/pads4/apis/nds-services-authentication.md) · [All operations](https://skmtc.dev/pads4/apis/nds-services-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pads4/nds-services-authentication/revisions/e0bfd79e98ee/schema)
