---
title: "Delete a service"
method: DELETE
path: "/sites/{id}/services/{serviceId}"
tags: ["Services"]
---

# Delete a service

`DELETE /sites/{id}/services/{serviceId}`

## Request

- Base URL: `http://localhost:3001/api/v1`
- URL: `http://localhost:3001/api/v1/sites/{id}/services/{serviceId}`
- Auth: HTTP bearer

Deletes a service and its associated cookies.

## Path parameters

- `id` string, uuid, required: Site ID
- `serviceId` string, uuid, required: Service ID

## Response `200`

Deletion confirmed

- object
  - `success` boolean, required

## Other responses

- `401`: Unauthorized
- `404`: Site or service not found

---

[API](https://skmtc.dev/consentlayer/apis/consentlayer-api.md) · [All operations](https://skmtc.dev/consentlayer/apis/consentlayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/consentlayer/apis/consentlayer-api/revisions/b89d4b189d50?raw)
