Service Level Objectives

Delete an SLO

Permanently delete the specified service level objective object.

If an SLO is used in a dashboard, the DELETE /v1/slo/ endpoint returns a 409 conflict error because the SLO is referenced in a dashboard.

delete/api/v1/slo/{slo_id}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/slo/{slo_id}
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: slos_write

Path parameters

slo_idstring required

The ID of the service level objective.

Query parameters

forcestring

Delete the monitor even if it's referenced by other resources (for example SLO, composite monitor).

Response

OK

datastring[]

An array containing the ID of the deleted service level objective object.

errorsobject

An dictionary containing the ID of the SLO as key and a deletion error as value.

Changes

No recorded changes to this operation across all 1 revision of this API.