Skip to content

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​

Successful Response

application/json
JSON
{
  
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Updated at: