﻿---
title: stack kb slo disable-slo-op cli command
description: Disable an SLO Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4075/reference/elastic-cli/cli/stack/kb/slo/disable-slo-op
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb slo disable-slo-op cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb slo disable-slo-op \
  --space-id <space-id> \
  --slo-id <slo-id> \
  [options]
```

Disable an SLO
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--space-id string required">
    An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
  </definition>
  <definition term="--slo-id string required">
    An identifier for the slo.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>