LogicMonitor + Catchpoint: Enter the New Era of Autonomous IT

Learn more

You can use LogicMonitor REST API v3 to update DiagnosticSource module details. You must authenticate before making the API request.

URI: 

  • PUT /setting/diagnosticssources/{id}
  • PATCH /setting/diagnosticssources/{id}

The following table describes parameters used in the API request:

ParameterTypeDescription
idInteger(Mandatory) ID of the DiagnosticSource that you want to update.
reasonStringReason for updating the DiagnosticSource.
accessGroupsStringAccess group details with which the DiagnosticSource is mapped. This includes the following parameters:
  • name—(Mandatory) Name of the access group.
  • description—Description of the access group.
  • tenant id—Tenant ID of the access group.
groovyScriptStringDiagnosticSource Groovy script that you want to run.
descriptionStringDescription of the DiagnosticSource.
appliesToStringThe AppliesTo for the DiagnosticSource.
technologyStringTechnical Notes for the DiagnosticSource.
tagsStringTags for the DiagnosticSource.
originRegistryIdStringThe Registry ID of the Exchange Integration that this module is based on. Including this field sets the module’s import base and marks the Registry ID version as audited.
scriptTypeStringType of script on which the DiagnosticSource script is based. Supported script types are Groovy and PowerShell.
accessGroupIdsIntegerID of the access groups with which the DiagnosticSource is mapped.
groupStringGroup the DiagnosticSource is in.

14-day access to the full LogicMonitor platform