Skip to main content
PUT
/
v1
/
ui
/
providers
/
update-user-role
Update user role
curl --request PUT \
  --url https://api.example.com/v1/ui/providers/update-user-role \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "role": "owner"
}
'

Body

application/json
userId
string
required
Minimum string length: 1
role
enum<string>
required
Available options:
owner,
admin,
member

Response

User role updated successfully