Anyone knows how is the request body for Assign roles to a user endpoint
My body request
{
"roles": [
"admin"
]
}
Response HTTP: 400
{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid request payload input"
}
get roles response
[
{
"id": "rol_vJ8LvtkaBizBowVd",
"name": "admin",
"description": "admin's role"
},
{
"id": "rol_n5ecegE12SByX7Oo",
"name": "user",
"description": "user's group"
}
]