Create Pac Config File

Create Pac Config File

Create a PAC configuration

Request
URI
POST
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/pacFile
COPY
Path Parameters
string
enterpriseLogicalId
Required

Enterprise Logical ID


Request Body
createPacConfigurationFileBody of type(s) application/json
Required
{
    "name": "Standard",
    "filename": "test.dat",
    "data": {
        "isDefault": false,
        "domainExceptions": [
            "vmware.com"
        ],
        "subnetExceptions": [
            [
                "2.2.2.2",
                "255.255.255.0"
            ],
            [
                "1.1.1.1",
                "255.255.255.255"
            ]
        ],
        "custom": "string",
        "httpPort": 3131,
        "httpsPort": 3131,
        "sslEnable": false,
        "ssoEnable": false,
        "useCustomPort": false,
        "defaultOverride": {
            "menloSecurity": {
                "enable": false
            },
            "googleServices": {
                "enable": false
            },
            "windowsUpdates": {
                "enable": false
            },
            "appleUpdates": {
                "enable": false
            },
            "mozilla": {
                "enable": false
            },
            "screenShareServices": {
                "enable": false
            },
            "dropboxFileSharing": {
                "enable": false
            },
            "samlIdentityServices": {
                "enable": false
            },
            "netflixVideoStreaming": {
                "enable": false
            },
            "serviceProviderBlockers": {
                "enable": false
            }
        },
        "description": "string",
        "enableAdvanced": false,
        "inspectDirect": false,
        "ipOverrideDomains": [
            "string"
        ],
        "blockOnInaccessible": false,
        "netHost": "string",
        "netIP": "string",
        "customRoute": false,
        "customProxies": [
            "string"
        ],
        "bypassOffice365": false,
        "bypassOffice365Tenants": [
            "string"
        ],
        "bypassUsGovOffice365": false,
        "bypassUsGovOffice365Tenants": [
            "string"
        ]
    }
}
string
name
Optional

name

string
filename
Optional

filename

object
data
Optional

data

Responses
201

PAC Configuration created

Returns createPacConfigurationFileResponse of type(s) application/json
{
    "logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c81"
}
string
logicalId
Required

logicalId


400

Invalid Input

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors


500

Internal Server Error

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors