Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
Path Parameters
Request Body
Full JSON Body Example
Request Body Fields
Note: All fields are optional. Only provided fields are updated. Omitted fields retain their current values.
Response
Success Response (200 OK)
Response Fields
When
deploy=true is specified:
Error Response (401 Unauthorized)
Error Response (400 Bad Request)
cURL Example
Example 1: Enable Trace Logging with Time Window
Example 2: Disable Trace Logging
Example 3: Update Only Environment
Example 4: Save and Deploy
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
Notes and Warnings
- Partial Update: Only provided fields are updated. You can send just the fields you want to change
- Time Format:
startTimeandstopTimemust be in ISO 8601 format with timezone (e.g.,2025-01-01T00:00:00Z) - Time Window: Trace logging is active only between
startTimeandstopTime. Outside this window, trace logging is automatically inactive - Environment-Specific: Trace logging is scoped to a specific environment. Set
environmentNameto target the desired environment - Performance Impact: Trace logging captures detailed request/response data and may impact performance. Use time-bounded windows for production environments
- Deploy: When
deploy=true, the API proxy is automatically deployed to the specified environments after saving
Related Documentation
- Update Traffic Log Settings - Configure traffic logging settings
- Update Maintenance Mode - Configure maintenance mode
- Get API Proxy Detail - Get API proxy details
- Deploy API Proxy - Deploy API proxy to apply changes

