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

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 have API_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: startTime and stopTime must be in ISO 8601 format with timezone (e.g., 2025-01-01T00:00:00Z)
  • Time Window: Trace logging is active only between startTime and stopTime. Outside this window, trace logging is automatically inactive
  • Environment-Specific: Trace logging is scoped to a specific environment. Set environmentName to 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