Endpoint
Authentication
Requires a Personal API Access Token.Header
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 customizationSTATUS_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)
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 modificationADVANCED: All backend errors are intercepted and custom error messages are appliedSTATUS_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 haveAPI_MANAGEMENT + MANAGE permission in the project.
Related Documentation
- Update JSON Error Template - Configure JSON error response template
- Update XML Error Template - Configure XML error response template
- Update Custom Message - Configure custom response message

