Skip to main content

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example

Request Body Fields

websocketSettings Fields

Note: All fields are optional. Only provided fields are updated. Default values are inherited from system settings.

Response

Success Response (200 OK)

When deploy=true is specified:

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

Example 4: Save and Deploy

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: maxRetries and retryDelay control the initial connection attempt. autoReconnect* settings control reconnection after an established connection is lost.
  • Retry Delay: Both retryDelay and autoReconnectRetryDelay are in milliseconds.
  • Socket Reuse: reuseAddr=true allows 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.
  • Deploy: When deploy=true, the API proxy is automatically deployed to the specified environments after saving.

Permissions

User must have API_MANAGEMENT + MANAGE permission in the project.