---
title: "Deletes an existing Service Fabric service."
method: POST
path: "/Services/{serviceId}/$/Delete"
tags: ["Service"]
---

# Deletes an existing Service Fabric service.

`POST /Services/{serviceId}/$/Delete`

A service must be created before it can be deleted. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if the service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the service.

## Path parameters

- `serviceId` string, required

## Query parameters

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

## Response `200`

A successful operation will return 200 status code.

## 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)
