• Home
  • Dynatrace API
  • Environment
  • Service-level objectives
  • DELETE an SLO

Service-level objectives API - DELETE an SLO

Deletes the specified service-level objective (SLO).

The request produces an application/json payload.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/slo/{id}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/slo/{id}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/slo/{id}

Authentication

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

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

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the required SLO.

pathrequired

Response

Response codes

CodeTypeDescription
204

Success. The SLO has been deleted. Response doesn't have a body.

404ErrorEnvelope

Failed. The requested resource doesn't exist.

409ErrorEnvelope

Failed. Conflicting resource.

500ErrorEnvelope

Internal server error.

Related topics
  • Service-level objectives

    Monitor and alert on service-level objectives with Dynatrace.