---
title: "Unprovision the code or configuration packages of a Service Fabric cluster."
method: POST
path: "/$/Unprovision"
tags: ["Cluster"]
---

# Unprovision the code or configuration packages of a Service Fabric cluster.

`POST /$/Unprovision`

It is supported to unprovision code and configuration separately.

## Query parameters

- `api-version` '6.0', required
- `timeout` integer

## Request body

- UnprovisionFabricDescription — Describes the parameters for unprovisioning a cluster.
  - `CodeVersion` string — The cluster code package version.
  - `ConfigVersion` string — The cluster manifest version.

## Response `200`

A successful response means that the code or configuration packages have been unprovisioned.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
