Security
x-api-key
A URL pattern used to block access to matching sites. A maximum of 2,000 blocked URLs is supported.
One of:
The host part of the URL pattern. This can be a domain or a subdomain. Wildcards are supported for subdomains.
Example:"*.sub.domain.com"
POST
- ControlsBlockedUrlsHostPath
- ControlsBlockedUrlsUrl
- Block all paths for the given host using the default path wildcard.
- Block all paths for the given subdomain using the default path wildcard.
- Wildcards used both in the host and path.
- Block all URLs on a specific domain
- Block all URLs on any subdomain of a specific domain
- Block paths matching the pattern on any subdomain of a specific domain
curl -i -X POST \
https://api.pushsecurity.com/v1/controls/blockedUrls \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"host": "domain.com"
}'Response
"*://*.example.com/*"