Ana içeriğe atla

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example

Request Body Fields

The request body is an object containing an array of routing address objects.

Routing Address Object

EnumRoutingAddressType

  • PRIMARY - Primary backend address (default, used for normal traffic)
  • CANARY - Canary release address (receives a percentage of traffic)
  • MIRROR - Mirror address (receives a copy of traffic for testing)
  • FAILOVER_ONLY - Failover-only address (used only when primary backends are unavailable)

EnumSoapApiPortType

  • SOAP11 - SOAP 1.1
  • SOAP12 - SOAP 1.2

Request Body Object

Note

  • Request body must be an object with routingAddressList array
  • For REST APIs, soapType is not required
  • For SOAP APIs, soapType defaults to SOAP11 if not provided
  • Weight is used when load balancing algorithm is WEIGHTED

Response

Success Response (200 OK)

Response Fields

When deploy=true is specified:

Error Response (400 Bad Request)

Error Response (401 Unauthorized)

Error Response (404 Not Found)

cURL Example

Example 1: Update REST API Backend Addresses

Example 2: Configure Primary and Failover Addresses with Health Check

Example 3: Configure Mirror Address for Traffic Testing

Example 4: Update SOAP API Backend Addresses

Example 5: Save and Deploy

Notes and Warnings

  • Request Body Format: Request body must be an object with routingAddressList array
  • Address Format: Must be a valid URL (http:// or https://)
  • Weight: Used for weighted load balancing (higher weight = more traffic)
  • SOAP Type: Required for SOAP APIs, defaults to SOAP11 if not provided
  • Empty Array: Empty array removes all routing addresses (routing will fail)
  • Load Balancing: Configure load balancing algorithm separately (via routing settings)
  • Address Types: Use FAILOVER_ONLY for disaster recovery backends, MIRROR for shadow traffic testing, CANARY for gradual rollout
  • Health Check: healthCheckPath defines the endpoint the gateway calls to verify backend health. Only applicable for PRIMARY and FAILOVER_ONLY addresses.
  • Description: Use description to document the purpose of each backend address
  • 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.