cURL
curl --request PATCH \ --url https://api.togai.com/settings/{setting_id_str} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "value": "{\"USD\":\"1\"}", "name": "Base_Currency", "dataType": "JSON" } '
{ "id": "UserSetting", "value": "INR", "entityType": "ORGANIZATION", "entityId": "XlK5h64gND", "namespace": "USER", "name": "Settings Name", "dataType": "STRING" }
Update a setting
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"setting.USER.success_threshold.ACCOUNT.G234DZZKBKACATFFGVGEMERFI"
Payload to update setting
Update Settings
STRING
NUMERIC
JSON
JSON_LOGIC
Response for insert and update settings request
Represents a setting