The staff/update endpoint enables you to update the role of a user in your room.
You can view information on staff roles, here.
staff/update
POST
userID: ID of the user you want to add to the staff
roleID: ID of the role you want to apply
{
"userID": -1,
"roleID": 1
}Insufficient permissions
{
"data": [
"You are not authorized to access this resource."
],
"status": "notAuthorized",
}userID or roleID is missing
{
"data": [
"xxxxxxxx is required"
],
"status": "requestError",
}{
'data': [],
'meta': {},
'status': 'ok',
'time': 'xx.xxxxxxxxxxx'
}