admin.groupSetTelemetrySessionEndpoint( config as element(configuration), group-id as xs.unsignedLong, value as String ) as element(configuration)
This function sets the initial session endpoint for telemetry.
const admin = require('/MarkLogic/admin.xqy'); var config = admin.getConfiguration() var spec = admin.groupSetTelemetrySessionEndpoint(config, xdmp.group(), "https://telemetry.services.marklogic.com") admin.saveConfiguration(spec)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.