Skip to content
CalypsoAI
Search
K
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
*
Required
Responses
200
422
Successful Response
Content-Type
application/json
Schema
JSON
JSON
{
"message"
:
"string"
}
POST
/backend/v1/users/{userId}/roles/{roleId}
Playground
Server
Select a server...
Authorization
HTTPBearer
Variables
Key
Value
userId
*
roleId
*
Try it out
Samples
Powered by
VitePress OpenAPI