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

EnumErrorHandlingType

  • DEFAULT - Use default error handling (pass through backend errors)
  • ADVANCED - Advanced error handling with full customization
  • STATUS_CODE_LIST - Custom handling for specific HTTP status codes only

Error Message Object

Note: All fields are optional. Only provided fields are updated.

Response

Success Response (200 OK)

When deploy=true is specified:

Response Fields

Error Response (401 Unauthorized)

Error Response (404 Not Found)

cURL Example

Example 1: Configure Status Code Based Error Handling

Example 2: Reset to Default Error Handling

Example 3: Enable Advanced Error Handling with Custom Messages

Example 4: Save and Deploy

Notes and Warnings

  • Error Handling Types:
    • DEFAULT: Backend error responses are passed through to the client without modification
    • ADVANCED: All backend errors are intercepted and custom error messages are applied
    • STATUS_CODE_LIST: Only the specified HTTP status codes trigger custom error handling
  • Custom Messages: When customizeErrorMessageEnabled=true, matching errors use the customized message and status code
  • Error Message Matching: Error messages are matched by httpStatusCode — if a backend returns a status code in the list, the corresponding custom message is used
  • Partial Updates: You can update individual fields without affecting others
  • 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.