Skip to main content
POST
Assign a role to a user

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string<uuid>
required
Example:

"4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a"

Body

application/json
role_id
string<uuid>
required
Example:

"4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a"

within
object
required

Response

Created

data
object[]
required