Create a proxy

Create a new proxy configuration in the resolved project.

POST/proxies

Create a new proxy configuration in the resolved project.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Configuration for routing traffic through a proxy.

Response

application/json

Proxy created successfully

Configuration for routing traffic through a proxy.

curl -X POST "https://example.com/proxies" \  -H "Content-Type: application/json" \  -d '{    "type": "datacenter"  }'
{  "id": "string",  "name": "string",  "type": "datacenter",  "protocol": "http",  "bypass_hosts": [    "string"  ],  "status": "available",  "last_checked": "2019-08-24T14:15:22Z",  "ip_address": "string",  "config": {    "country": "string"  }}