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 |
|---|---|---|---|---|
| connectionLostTimeout | integer | No | System default | Timeout in seconds before a connection is considered lost |
| reuseAddr | boolean | No | System default | Enable socket address reuse (SO_REUSEADDR) |
| connectTimeout | integer | No | System default | WebSocket connection timeout in seconds |
| maxRetries | integer | No | System default | Maximum number of initial connection retry attempts |
| retryDelay | integer | No | System default | Delay between initial connection retries in milliseconds |
| autoReconnect | boolean | No | System default | Enable automatic reconnection after connection loss |
| autoReconnectMaxRetries | integer | No | System default | Maximum number of auto-reconnect attempts |
| autoReconnectRetryDelay | integer | No | System default | Delay between auto-reconnect attempts in milliseconds |
Response
Success Response (200 OK)
Error Response (400 Bad Request)
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Example 1: Configure Connection and Auto-Reconnect
Example 2: Configure Retry Settings
Example 3: Disable Auto-Reconnect
Notes and Warnings
- WebSocket Only: This endpoint is only applicable to API Proxies with WebSocket type. Using it on HTTP/REST proxies will result in an error.
- Connection Lost Timeout: If no data is received within this timeout, the connection is considered lost. Set higher for long-lived idle connections.
- Initial Retries vs Auto-Reconnect:
maxRetriesandretryDelaycontrol the initial connection attempt.autoReconnect*settings control reconnection after an established connection is lost. - Retry Delay: Both
retryDelayandautoReconnectRetryDelayare in milliseconds. - Socket Reuse:
reuseAddr=trueallows reusing the socket address, which is useful in high-connection environments. - System Defaults: When a field is not set, the value is inherited from system-level settings.
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
Related Documentation
- Update Connection Settings - Update HTTP connection settings
- Update Routing Addresses - Update backend routing addresses
- Get API Proxy - Get API proxy details

