roles_update_role_setting
Update a role's setting by specifying role ID, setting key, and new value. Changes apply to all users with that role.
Instructions
Update a role setting.
Updates an existing setting for a role. Requires admin permissions.
Workflow tips:
Setting must already exist
Use roles/get_role_settings to see current settings
Changes affect all users with this role
Value type should match original setting
Common use cases:
Update setting: { "id": 123, "setting_key": "visibility", "value": "private" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the role | |
| setting_key | Yes | Key of the setting | |
| value | Yes | New value of the setting (string, number, or boolean) |