---
title: "Delete Themes"
method: DELETE
path: "/sites/{id}/themes"
tags: ["sites"]
---

# Delete Themes

`DELETE /sites/{id}/themes`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{id}/themes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:id/themes/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deleting unused WordPress themes is important for maintaining site security and optimal performance. Unused themes can become outdated, posing a security risk if they aren't regularly updated. Moreover, they can take up valuable storage space, potentially slowing down your website. Therefore, it's best practice to delete themes you're not using.

## Path parameters

- `id` integer, required

## Request body

- object
  - `themes` object[]
    - `path` string

## Response `200`

Successful Response

- object
  - `message` string

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
