Skip to content
CalypsoAI
Main Navigation
App
Product docs
Appearance
Menu
Return to top
Assign role to user.
POST
/backend/v1/users/{userId}/roles/{roleId}
Assigns a specified role to a user.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Parameters
Path Parameters
userId
*
Type
string
Required
roleId
*
Type
string
Required
format
uuid
Responses
200
422
Successful Response
Content-Type
application/json
Schema
JSON
JSON
{
"message"
:
"string"
}
POST
/backend/v1/users/{userId}/roles/{roleId}
Playground
Authorization
HTTPBearer
Variables
Key
Value
userId
*
roleId
*
Try it out
Samples
Powered by
VitePress OpenAPI