Skip to main content
Permanently deletes a feature from the project. The feature is also automatically removed from all pricing plans that include it.
Deleting a feature removes it from all plans in the project. This cannot be undone.

Endpoint

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

Authentication

Authorization
string
required
Bearer token with your API key. Requires read_write permission.

Path Parameters

slug
string
required
The project’s URL-friendly slug identifier.
featureId
number
required
The feature’s unique ID.

Response

success
boolean
true if the feature was successfully deleted.

Example

curl -X DELETE https://cuprice.io/api/v1/projects/my-saas-app/features/101 \
  -H "Authorization: Bearer cpk_your_key_here"
{
  "success": true
}

Errors

StatusDescription
401Invalid or missing API key
403API key does not have read_write permission
404Project or feature not found