v6

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0161113158.0 KB
Users

Assign a role to a user

Assigns the specified role to a user. Admin-only access.

post/api/users/{userId}/roles

Path parameters

userIdinteger required

The ID of the user to assign the role to.

Request body

roleNamestring required

The name of the role to assign.

Response

Role assigned successfully.

messagestring