Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
Request Body
Full JSON Body Example
Request Body Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| connectionSettingsEnabled | boolean | No | - | Enable/disable custom connection settings |
| connectTimeout | integer | No | - | Connection timeout in seconds |
| readTimeout | integer | No | - | Read timeout in seconds |
| connectionRequestTimeout | integer | No | - | Connection request timeout in seconds |
| validateAfterInactivity | integer | No | 2000 | Validate connections after inactivity (milliseconds). Tune per backend load balancer keep-alive timeout. |
| idleConnectionTimeout | integer | No | 30 | Evict idle connections after this period (seconds). Tune per backend load balancer keep-alive timeout. |
| redirectsEnabled | boolean | No | - | Enable/disable HTTP redirects |
| maxRedirects | integer | No | - | Maximum number of redirects |
| relativeRedirectsAllowed | boolean | No | - | Allow relative redirects |
| disableContentCompression | boolean | No | - | Disable content compression |
| enableStreaming | boolean | No | - | Enable streaming mode |
| retryCount | integer | No | - | Number of retries on failure |
| failoverRetryCount | integer | No | - | Number of failover retries |
| ignoreRoutingError | boolean | No | - | Ignore routing errors |
| connectionPoolManagementType | string | No | - | Connection pool management type |
| customConnectionPoolSize | integer | No* | - | Custom connection pool size (required if connectionPoolManagementType=CUSTOM) |
| retryDelayType | string | No | NO_DELAY | Retry delay strategy. See EnumRetryDelayType |
| retryFixedDelayMs | integer | No | - | Fixed delay between retries in milliseconds (when retryDelayType=FIXED) |
| retryInitialDelayMs | integer | No | - | Initial delay for exponential backoff in milliseconds |
| retryMaxDelayMs | integer | No | - | Maximum delay for exponential backoff in milliseconds |
| retryBackoffMultiplier | number | No | - | Backoff multiplier for exponential delay (e.g., 2.0 doubles delay each retry) |
| hopByHopHeaders | array[string] | No | - | List of hop-by-hop headers to remove before forwarding to backend |
| sendUserAgentToBackend | boolean | No | - | Send User-Agent header to backend |
| userAgentValue | string | No | - | Custom User-Agent header value (used when sendUserAgentToBackend=true) |
| doNotRouteZeroValueContentLength | boolean | No | - | Do not route requests with Content-Length: 0 |
| enableDownload | boolean | No | - | Enable file download support for large response bodies |
| useByteArrayForCompressedResponse | boolean | No | - | Use byte array for compressed response handling |
EnumRetryDelayType
NO_DELAY- No delay between retries (immediate retry)FIXED- Fixed delay between retries (usesretryFixedDelayMs)EXPONENTIAL_BACKOFF- Exponential backoff delay (usesretryInitialDelayMs,retryMaxDelayMs,retryBackoffMultiplier)
EnumConnectionPoolManagementType
GENERAL- General connection pool (shared pool)CUSTOM- Custom connection pool (requires customConnectionPoolSize)NONE- No connection pool
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates if the request was successful |
Error Response (400 Bad Request)
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Example 1: Configure Connection Timeouts
Example 2: Configure Custom Connection Pool
Example 3: Configure Connection Pool Stale/Idle Handling
Example 4: Configure Retry Delay with Exponential Backoff
Example 5: Configure Header and Response Settings
Notes and Warnings
- Timeouts: Connection and read timeouts are in seconds; validateAfterInactivity is in milliseconds
- Connection Pool: validateAfterInactivity and idleConnectionTimeout help prevent stale connection issues; tune per backend load balancer keep-alive timeout
- Connection Pool:
CUSTOMrequirescustomConnectionPoolSizeto be set - Retries:
retryCountretries on same backend,failoverRetryCounttries failover backends - Retry Delay: Use
EXPONENTIAL_BACKOFFfor production (prevents thundering herd).FIXEDdelay is simpler but less effective under load. - Redirects: When
redirectsEnabled=true, HTTP redirects are followed (maxmaxRedirects) - Streaming: When
enableStreaming=true, response is streamed instead of buffered - Content Compression: When
disableContentCompression=true, content compression is disabled - Hop-by-Hop Headers: Headers listed in
hopByHopHeadersare removed before the request is forwarded to the backend - User-Agent: When
sendUserAgentToBackend=true, the specifieduserAgentValueis sent as the User-Agent header to the backend - Download Mode: When
enableDownload=true, the gateway handles large response bodies as file downloads
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
Related Documentation
- Update Circuit Breaker Settings - Update circuit breaker settings
- Update Routing Addresses - Update routing addresses
- Get API Proxy - Get API proxy details

