---
title: "Delete component"
method: DELETE
path: "/components/{id}"
tags: ["Products"]
---

# Delete component

`DELETE /components/{id}`

## Request

- Base URL: `https://app.pencil.ink/api/v1`
- URL: `https://app.pencil.ink/api/v1/components/{id}`
- Auth: HTTP bearer

Soft-deletes the resource. Requires a `write` key.

## Response `200`

Deletion acknowledged.

- object
  - `data` DeleteResult
    - `deleted` boolean

## Other responses

- `401`: Missing or invalid API key (`unauthorized`).
- `403`: The key is read-only and may not write (`forbidden`).
- `404`: Resource not found in this org (`not_found`).

---

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