• Home
  • Dynatrace API
  • Environment
  • Log Monitoring v1
  • Custom devices
  • DELETE analysis job

Custom device logs API v1 - DELETE analysis job

Deletes or cancels the specified log analysis job.

The request produces an application/json payload.

DELETEManaged https://{your-domain}/e/{your-environment-id}/api/v1/entity/infrastructure/custom-devices/{customDeviceId}/logs/jobs/{jobId}
SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/entity/infrastructure/custom-devices/{customDeviceId}/logs/jobs/{jobId}
Environment ActiveGate https://{your-activegate-domain}/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 Read logs (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.

Response body objects

The LogJobDeleteResult object

ElementTypeDescription
messagestring-

Can be null.

Response body JSON model

json
{ "message": "string" }
Related topics
  • Log Monitoring

    Learn how to enable Log Monitoring, the insights that Log Monitoring can provide, and more.