Assign User Role
AuthorizationBearer <token>
In: header
Path Parameters
user_id*User Id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
role_id*Role Id
Response Body
application/json
application/json
curl -X POST "https://loading/api/v2/roles/users/string" \ -H "Content-Type: application/json" \ -d '{ "role_id": "string" }'{
"assigned_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"role_id": "string",
"role_name": "string",
"role_permissions": [
"string"
],
"user_id": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}