Custom device logs API v1 - DELETE analysis job

deprecated

This API is deprecated.

  • For Log monitoring - Custom devices, Hosts, or Process Groups, what to use instead depends on which version of Log Monitoring you use:
  • For Calculated metrics - Log Monitoring, use the Settings API endpoint with schemaId builtin:logmonitoring.schemaless-log-metric.

Deletes or cancels the specified log analysis job.

The request produces an application/json payload.

DELETESaaShttps://{your-environment-id}.live.dynatrace.com/api/v1/entity/infrastructure/custom-devices/{customDeviceId}/logs/jobs/{jobId}
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/entity/infrastructure/custom-devices/{customDeviceId}/logs/jobs/{jobId}

Authentication

To execute this request, you need an access token with LogExport scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
customDeviceIdstring

The Dynatrace entity ID of the required custom device.

pathrequired
jobIdstring

The ID of the log analysis job to be deleted.

You can retrieve it from the response of the POST analysis job request.

pathrequired

Response

Response codes

CodeTypeDescription
200LogJobDeleteResult

Success. The job has been deleted.

400ErrorEnvelope

Failed. See the response body for details

404ErrorEnvelope

Not found. See the response body for details.

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The LogJobDeleteResult object

ElementTypeDescription
messagestring-

Response body JSON model

{
"message": "string"
}