{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-gov/cdd8786b84e1e4d80528d0eeb25987c136a18549/297a6839-be3e-3bfc-9d4b-144fce0d7214","info":{"title":"Cisco Umbrella for Government Destination Lists API","version":"2.0.0","description":"Manage the destination lists in your organization and access to network destinations.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"Destination Lists","description":"Destination Lists"},{"name":"Destinations","description":"Destinations"},{"name":"Umbrella"}],"x-parser-conf":{"overview":{"markdownPath":"reference/policies/destination-lists-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://api.umbrellagov.com/{basePath}","variables":{"basePath":{"default":"policies/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.umbrellagov.com/auth/v2/token","scopes":{"policies.destinationLists:write":"Write policies destination lists","policies.destinationLists:read":"Read policies destination lists","policies.destinations:write":"Write policies destinations","policies.destinations:read":"Read policies destinations"}}}}}},"spec":{"type":"object","required":["access","isGlobal","name"],"description":"The properties of the destination list.","properties":{"access":{"type":"string","enum":["allow","block"],"example":"allow","description":"The type of access for the destination list.","$$ref":"#/components/schemas/access"},"isGlobal":{"type":"boolean","example":false,"description":"Specifies whether the destination list is a global destination list.\nThere is only one default `allow` destination list and one default `block` destination list for an organization.","$$ref":"#/components/schemas/isGlobal"},"name":{"type":"string","example":"Global Allow list","description":"The name of the destination list.","$$ref":"#/components/schemas/name"},"bundleTypeId":{"type":"integer","default":1,"enum":[1,2,4],"example":4,"description":"The type of the destination list in the policy.\nSet `1` for DNS, `2` for web, and `4` for SAML Bypass.\nIf the field is not specified, the default value is `1`.","$$ref":"#/components/schemas/bundleTypeId"},"destinations":{"type":"array","description":"The list of destinations.","maxItems":500,"items":{"type":"object","description":"The properties of the destination.","properties":{"destination":{"type":"string","example":"cisco.com","description":"A domain, URL, or IP.","$$ref":"#/components/schemas/destination"},"type":{"type":"string","enum":["domain","url","ipv4"],"example":"domain","description":"The type of the destination.","$$ref":"#/components/schemas/type"},"comment":{"type":"string","description":"The comment about the destination.","example":"Add new destination list","$$ref":"#/components/schemas/comment"}}}}},"example":{"access":"allow","isGlobal":false,"name":"The name of the destination list."},"$$ref":"#/components/schemas/DestinationListCreate","title":"DestinationListCreate"}}