Skip to content

Assign role to user.

POST
/backend/v1/users/{userId}/roles/{roleId}

Assigns a specified role to a user.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Parameters

Path Parameters

userId*
Typestring
Required
roleId*
Typestring
Required
formatuuid

Responses

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

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Updated at: