{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/9d37d008417d562ab46d4b67547a68457ce288d2/78b9f21c-f8d1-36c4-9358-e4da2e7fc41c","info":{"version":"2.0.0","title":"Cisco Secure Web Gateway Device Settings API","description":"Manage the Secure Access 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":"Secure Access"}],"x-parser-conf":{"overview":{"markdownPath":"secure-access/reference/deployments/secure-access-swg-devices-overview.md","uri":"secure-access-api-reference-swg-devices-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.sse.cisco.com/{basePath}","variables":{"basePath":{"default":"deployments/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.sse.cisco.com/auth/v2/token","scopes":{"deployments.devices.swg:write":"Write SWG device settings","deployments.devices.swg:read":"Read SWG device settings"}}}}}},"spec":{"type":"array","description":"The list of Secure Web Gateway (SWG) settings for the devices in the organization.","items":{"type":"object","description":"The properties of the secure web gateway settings for the device.","required":["originId","name","value","modifiedAt"],"properties":{"originId":{"description":"The origin ID of the device.","type":"integer","format":"int64","example":12321231,"$$ref":"#/components/schemas/originId"},"name":{"type":"string","description":"The name of the device setting.","example":"SWG enabled device"},"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"},"modifiedAt":{"type":"string","description":"The date and time when the settings on the device were modified. The timestamp is in the ISO 8601 date format.","format":"iso-date-time","example":"2021-04-26 13:12:11"}}},"example":[{"originId":124131441,"name":"SWGEnabled","value":"1","modifiedAt":"2021-04-26 13:12:11"},{"originId":124131442,"name":"SWG-not-enabled","value":"0","modifiedAt":"2023-04-26 13:12:11"}],"$$ref":"#/components/schemas/ListSWGDeviceSettings","title":"ListSWGDeviceSettings"}}