Skip to main content
POST
/
telemetry
/
configuration
Configure Telemetry
curl --request POST \
  --url http://{host}:{port}/{contextPath}/telemetry/configuration \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enableTelemetry": true
}
'
{
  "type": "<string>",
  "message": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
enableTelemetry
boolean | null

Specifies if the telemetry data should be sent or not.

Response

Request successful.