Add or update role setting

POST {{baseUrl}}/roles/:id/settings

Adds or updates the visibility setting for a role.

Request Body

{"setting_key"=>"<string>", "value"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:2,&quot;deal_default_visibility&quot;:1}}