- Replace the app banner (URL pattern) configuration
Retrieve the app banner (URL pattern) configuration
Replace the app banner (U...
Replaces your organization's app banner (URL pattern) configuration with the configuration you send. Any rule you don't include is deleted.
A rule with an id updates the existing rule with that id. A rule without an id is created. Rules are evaluated in the order you send them, and the first rule that matches wins.
To change part of the configuration, retrieve it first, apply your changes, and send the complete configuration back.
Security
x-api-key
- EUhttps://eu1.api.pushsecurity.com/v1/controls/appBannerUrlPattern/configuration
curl -i -X PUT \
https://eu1.api.pushsecurity.com/v1/controls/appBannerUrlPattern/configuration \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"globals": {},
"rules": []
}'Response
{ "globals": {}, "rules": [ { "id": "c478966c-f927-411c-b919-179832d3d50c", "name": "Warn on internal admin portal", "enabled": true, "mode": "INFORM", "title": "Handle with care", "subtext": "This is an internal admin tool. Do not paste customer data.", "buttonText": "I understand", "allowReasonSubmission": false, "displayFrequency": "ONCE_PER_BROWSER", "criteria": { "employeeIds": { "matches": [ … ] }, "employeeGroups": { "matches": [ … ] }, "urlPatterns": { "matches": [ … ] } } } ] }