---
title: "Update Routing Addresses"
method: PATCH
path: "/apiops/projects/{projectName}/apiProxies/{apiProxyName}/settings/addresses/"
tags: ["ApiProxy"]
---

# Update Routing Addresses

`PATCH /apiops/projects/{projectName}/apiProxies/{apiProxyName}/settings/addresses/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/apiProxies/{apiProxyName}/settings/addresses/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/apiProxies/:apiProxyName/settings/addresses/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates Routing Addresses for the specified API Proxy

## Path parameters

- `projectName` string, required
- `apiProxyName` string, required

## Request body

- ApiProxyRoutingAddressListDTO: List of API proxy routing addresses
  - `deploy` boolean: If true, deploy the API Proxy after saving changes
  - `deployTargetEnvironmentNameList` string[]: List of environment names to deploy to (required when deploy=true)
  - `routingAddressList` ApiProxyRoutingAddress[], required: List of routing addresses
    - `address` string, required: Backend URL address
    - `description` string: Description for this backend address
    - `weight` integer: Weight for weighted round-robin load balancing (required when algorithm is WEIGHTED_ROUND_ROBIN)
    - `soapType` 'SOAP11' | 'SOAP12' | 'HTTP': SOAP port type (required when API type is SOAP)
    - `addressType` 'PRIMARY' | 'CANARY' | 'MIRROR' | 'FAILOVER_ONLY': Address type: PRIMARY, CANARY, MIRROR, FAILOVER_ONLY (defaults to PRIMARY)
    - `healthCheckPath` string: Active health check path for this backend (only for PRIMARY and FAILOVER_ONLY)
    - `healthMonitoringEnabled` boolean: Enable per-address health monitoring (only for HTTP type)
  - `routingAlgorithm` 'ROUND_ROBIN' | 'LRU' | 'WEIGHTED' | 'RANDOM' | 'PICK_FIRST': Routing (load balance) algorithm. Optional: when provided it is applied, otherwise the existing algorithm is preserved.

## Response `200`

successful operation!

- ApiOpsResponseSuccess
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` string[]
  - `resultCount` integer
  - `deploymentResult` DeploymentResult
    - `envName` string
    - `podName` string
    - `podIp` string
    - `success` boolean
    - `detail` string
    - `responseTime` integer
    - `detailList` unknown[]
      - unknown
    - `firstFromApiResultList` unknown
  - `unresolvedReferences` string[]
  - `advisories` ApiOpsAdvisoryDTO[]
    - `level` string
    - `key` string
    - `params` object

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-10-20** `d1a546deccf0`: 1 breaking
  - the request property `routingAddressList/items/address` became required
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/projects/:projectName/apiProxies/:apiProxyName/settings/addresses/patch.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
