Service-level objectives API - DELETE an SLO
Deletes the specified service-level objective (SLO).
The request produces an application/json
payload.
DELETE | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/slo/{id} |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/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
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The ID of the required SLO. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
204 | - | Success. The SLO has been deleted. Response doesn't have a body. |
404 | Error | Failed. The requested resource doesn't exist. |
409 | Error | Failed. Conflicting resource. |
500 | Error | Internal server error. |
4XX | Error | Client side error. |
5XX | Error | Server side error. |