Zero TrustZero Trust Gateway Proxy Endpoints

Create a proxy endpoint

POST
Creates a new Zero Trust Gateway proxy endpoint.

Path parameters

identifierstringRequired

Request

This endpoint expects an object.
ips
list of stringsRequired
A list of CIDRs to restrict ingress connections.
name
stringRequired
The name of the proxy endpoint.
subdomain
stringOptional
The subdomain to be used as the destination in the proxy client.

Response

This endpoint returns an object
result
objectOptional
POST
1curl -X POST https://api.cloudflare.com/client/v4/accounts/699d98642c564d2e855e9661899b7252/gateway/proxy_endpoints \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "ips": [
6 "192.0.2.1/32"
7 ],
8 "name": "Devops team",
9 "subdomain": "oli3n9zkz5.proxy.cloudflare-gateway.com"
10}'
200Successful
1{
2 "result": {
3 "created_at": "2014-01-01T05:20:00.12345Z",
4 "id": "ed35569b41ce4d1facfe683550f54086",
5 "ips": [
6 "192.0.2.1/32"
7 ],
8 "name": "Devops team",
9 "subdomain": "oli3n9zkz5.proxy.cloudflare-gateway.com",
10 "updated_at": "2014-01-01T05:20:00.12345Z"
11 }
12}