Page Shield
page_shield
Methods
Fetches the Page Shield settings.
Updates Page Shield settings.
Domain types
Connections
page_shield.connections
Methods
Fetches a connection detected by Page Shield by connection ID.
Lists all connections detected by Page Shield.
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Page Shield Domain Page Shield Read Domain Page Shield Page Shield Read Zone Settings Write Zone Settings Read
Identifier
The direction used to sort returned connections.
When true, excludes connections seen in a /cdn-cgi
path from the returned connections. The default value is true.
Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
Export the list of connections as a file.
Includes connections that match one or more URL-encoded hostnames separated by commas.
Wildcards are supported at the start and end of each hostname to support starts with, ends with and contains. If no wildcards are used, results will be filtered by exact match
The field used to sort returned connections.
The current page number of the paginated results.
We additionally support a special value "all". When "all" is used, the API will return all the connections with the applied filters in a single page. This feature is best-effort and it may only work for zones with a low number of connections
Includes connections that match one or more page URLs (separated by commas) where they were last seen
Wildcards are supported at the start and end of each page URL to support starts with, ends with and contains. If no wildcards are used, results will be filtered by exact match
The number of results per page.
When true, malicious connections appear first in the returned connections.
Filters the returned connections using a comma-separated list of connection statuses. Accepted values: active
, infrequent
, and inactive
. The default value is active
.
Includes connections whose URL contain one or more URL-encoded URLs separated by commas.
Whether the API call was successful
Domain types
Policies
page_shield.policies
Methods
Create a Page Shield policy.
Delete a Page Shield policy by ID.
Fetches a Page Shield policy by ID.
Lists all Page Shield policies.
Update a Page Shield policy by ID.
Domain types
Scripts
page_shield.scripts
Methods
Fetches a script detected by Page Shield by script ID.
Lists all scripts detected by Page Shield.
Domain types