---
title: "Deactivate a network slice."
method: POST
path: "/slice/v1/slices/{id}/deactivate"
tags: ["Network Slicing v1.0.0"]
---

# Deactivate a network slice.

`POST /slice/v1/slices/{id}/deactivate`

Deactivate a network slice. The slice state must be active to be able to perform this operation.

## Path parameters

- `id` string, required

## Headers

- `x-rapidapi-host` string, required

## Response `202`

- object
  - `status` string

## Other responses

- `422`

---

[API](https://skmtc.dev/nokia/apis/network-as-code.md) · [All operations](https://skmtc.dev/nokia/apis/network-as-code/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nokia/network-as-code/revisions/fdd5f5a56b88/schema)
