Skip to content
Start here

Pacfiles

List PAC files
client.zeroTrust.gateway.pacfiles.list(PacfileListParams { account_id } params, RequestOptionsoptions?): SinglePage<PacfileListResponse { id, created_at, description, 4 more } >
GET/accounts/{account_id}/gateway/pacfiles
Get a PAC file
client.zeroTrust.gateway.pacfiles.get(stringpacfileID, PacfileGetParams { account_id } params, RequestOptionsoptions?): PacfileGetResponse { id, contents, created_at, 5 more }
GET/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
Create a PAC file
client.zeroTrust.gateway.pacfiles.create(PacfileCreateParams { account_id, contents, name, 2 more } params, RequestOptionsoptions?): PacfileCreateResponse { id, contents, created_at, 5 more }
POST/accounts/{account_id}/gateway/pacfiles
Update a Zero Trust Gateway PAC file
client.zeroTrust.gateway.pacfiles.update(stringpacfileID, PacfileUpdateParams { account_id, contents, description, name } params, RequestOptionsoptions?): PacfileUpdateResponse { id, contents, created_at, 5 more }
PUT/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
Delete a PAC file
client.zeroTrust.gateway.pacfiles.delete(stringpacfileID, PacfileDeleteParams { account_id } params, RequestOptionsoptions?): PacfileDeleteResponse
DELETE/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
ModelsExpand Collapse
PacfileListResponse { id, created_at, description, 4 more }
id?: string
created_at?: string
formatdate-time
description?: string

Detailed description of the PAC file.

name?: string

Name of the PAC file.

slug?: string

URL-friendly version of the PAC file name.

updated_at?: string
formatdate-time
url?: string

Unique URL to download the PAC file.

PacfileGetResponse { id, contents, created_at, 5 more }
id?: string
contents?: string

Actual contents of the PAC file

created_at?: string
formatdate-time
description?: string

Detailed description of the PAC file.

name?: string

Name of the PAC file.

slug?: string

URL-friendly version of the PAC file name.

updated_at?: string
formatdate-time
url?: string

Unique URL to download the PAC file.

PacfileCreateResponse { id, contents, created_at, 5 more }
id?: string
contents?: string

Actual contents of the PAC file

created_at?: string
formatdate-time
description?: string

Detailed description of the PAC file.

name?: string

Name of the PAC file.

slug?: string

URL-friendly version of the PAC file name.

updated_at?: string
formatdate-time
url?: string

Unique URL to download the PAC file.

PacfileUpdateResponse { id, contents, created_at, 5 more }
id?: string
contents?: string

Actual contents of the PAC file

created_at?: string
formatdate-time
description?: string

Detailed description of the PAC file.

name?: string

Name of the PAC file.

slug?: string

URL-friendly version of the PAC file name.

updated_at?: string
formatdate-time
url?: string

Unique URL to download the PAC file.

PacfileDeleteResponse = unknown