{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-gov/9ead083ce611c254ac9201d1e76003bd3d4b4b6b/7e0efc2b-8c6a-374b-ad2f-31007d7fa1b4","info":{"version":"2.0.0","title":"Cisco Umbrella Secure Web Gateway Device Settings API","description":"Manage the Secure Web Gateway (SWG) settings for the devices in an organization.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"SWG Device Settings","description":"Secure Web Gateway (SWG) device settings"},{"name":"Umbrella"}],"x-parser-conf":{"overview":{"markdownPath":"reference/deployments/umbrella-swg-devices-overview.md","uri":"umbrella-api-reference-swg-devices-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.umbrellagov.com/{basePath}","variables":{"basePath":{"default":"deployments/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.umbrellagov.com/auth/v2/token","scopes":{"deployments.devices.swg:write":"Write SWG device settings","deployments.devices.swg:read":"Read SWG device settings"}}}}}},"spec":{"type":"object","description":"The information about the Secure Web Gateway (SWG) setting for the devices in the organization.","required":["totalCount","successCount","failCount","items","value"],"properties":{"totalCount":{"type":"integer","description":"The total number of devices that requested to update the device setting."},"successCount":{"type":"integer","description":"The number of devices that successfully changed the device setting."},"failCount":{"type":"integer","description":"The number of devices that failed to change the device setting."},"items":{"type":"array","description":"The list of device setting status properties.","items":{"type":"object","description":"The status and description for the device setting.","required":["originId","code","message"],"properties":{"originId":{"description":"The origin ID of the device.","type":"integer","format":"int64","example":12321231,"$$ref":"#/components/schemas/originId"},"code":{"type":"integer","description":"The status code of the response."},"message":{"type":"string","description":"The description of the response."}}}},"value":{"type":"string","enum":["0","1"],"description":"Specifies whether to enable the Secure Web Gateway (SWG) device settings.\nValid values are: `0` or `1` where `1` indicates enable.","example":"1","$$ref":"#/components/schemas/value"}},"example":{"totalCount":2,"successCount":1,"failCount":1,"items":[{"originId":12321231,"code":200,"message":"success"},{"originId":12313431,"code":404,"message":"The origin ID does not exist."}],"value":"1"},"$$ref":"#/components/schemas/RegisteredSWGDeviceSettings","title":"RegisteredSWGDeviceSettings"}}