Skip to main content
POST
/
admin
/
users
/
update-role
Update user role
curl --request POST \
  --url https://nimbussuite.com/api/v1/admin/users/update-role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "role": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
userId
string
required
role
string
required

Response

User role updated successfully

message
string