---
title: "Enable an SLO"
method: POST
path: "/s/{spaceId}/api/observability/slos/{sloId}/enable"
tags: ["slo"]
---

# Enable an SLO

`POST /s/{spaceId}/api/observability/slos/{sloId}/enable`

You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

## Path parameters

- `spaceId` string, required
- `sloId` string, required

## Headers

- `kbn-xsrf` string, required

## Response `204`

Successful request

## Other responses

- `400` — Bad request
- `401` — Unauthorized response
- `403` — Forbidden response
- `404` — Not found response

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/deb2e8b751e7/schema)
