PUT
/v1/admin/notification-settings
Update Notification Settings
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/notification-settings \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "settings": [ { "category": "queues", "type": "call_outcome", "enabled": false, "config": { "outcome": "abandoned", "target": { "scope": "all", "ids": [] } } }, { "category": "auth", "type": "agent_auth_block", "enabled": true, "config": {} } ] }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
Response
settings▾categorytypeenabledconfigcreated_atupdated_at