Add role assignment
POST {{baseUrl}}/roles/:id/assignments
Assigns a user to a role.
Request Body
{"user_id"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"user_id":1234567,"role_id":2}}