> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cuprice.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Feature

> Remove a feature from a project

Permanently deletes a feature from the project. The feature is also automatically removed from all pricing plans that include it.

<Warning>
  Deleting a feature removes it from **all plans** in the project. This cannot be undone.
</Warning>

## Endpoint

```
DELETE /api/v1/projects/{slug}/features/{featureId}
```

## Authentication

<ParamField header="Authorization" type="string" required>
  Bearer token with your API key. Requires `read_write` permission.
</ParamField>

## Path Parameters

<ParamField path="slug" type="string" required>
  The project's URL-friendly slug identifier.
</ParamField>

<ParamField path="featureId" type="number" required>
  The feature's unique ID.
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  `true` if the feature was successfully deleted.
</ResponseField>

## Example

```bash theme={null}
curl -X DELETE https://cuprice.io/api/v1/projects/my-saas-app/features/101 \
  -H "Authorization: Bearer cpk_your_key_here"
```

```json theme={null}
{
  "success": true
}
```

## Errors

| Status | Description                                   |
| ------ | --------------------------------------------- |
| `401`  | Invalid or missing API key                    |
| `403`  | API key does not have `read_write` permission |
| `404`  | Project or feature not found                  |
