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 |
|---|---|---|---|---|
| routingEnabled | boolean | No | - | Enable/disable routing to backend |
| echoEnabled | boolean | No | - | Enable/disable echo mode (returns the request as the response without routing to backend) |
Routing
- When
routingEnabled=true, requests are forwarded to backend - When
routingEnabled=false, requests are not forwarded (useful for testing/maintenance)
Echo Mode
- When
echoEnabled=true, the gateway returns the incoming request as the response without forwarding to the backend - Useful for debugging, testing API Proxy policies, and verifying request transformations
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: Enable Routing
Example 2: Enable Echo Mode
Example 3: Disable Echo Mode and Enable Routing
Notes and Warnings
- Routing Disabled: When
routingEnabled=false, requests are not forwarded to backend - Echo Mode: When
echoEnabled=true, the request is returned as-is as the response — no backend communication occurs - Use Cases:
- Disable routing for maintenance/testing
- Enable echo mode for debugging request transformations and policy effects
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
Related Documentation
- Update Routing Addresses - Update routing addresses
- Update Connection Settings - Update connection settings
- Get API Proxy - Get API proxy details

