roles_add_role_setting
Add or update a role setting to assign permissions or enable features for all users with that role.
Instructions
Add or update a role setting.
Creates or updates a setting for a role. Requires admin permissions.
Workflow tips:
Setting key should follow Pipedrive conventions
Value can be string, number, or boolean
Creates new setting or updates existing one
Changes affect all users with this role
Common use cases:
Add setting: { "id": 123, "setting_key": "visibility", "value": "shared" }
Enable feature: { "id": 123, "setting_key": "can_export_data", "value": true }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the role | |
| setting_key | Yes | Key of the setting | |
| value | Yes | Value of the setting (string, number, or boolean) |