Skip to main content
Permanently deletes a project and cascades to all associated resources: pricing plans, features, and theme settings are all removed.
This action is irreversible. All plans, features, and theme settings associated with the project will be permanently deleted.

Endpoint

DELETE /api/v1/projects/{slug}

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.

Response

success
boolean
true if the project was successfully deleted.

Example

curl -X DELETE https://cuprice.io/api/v1/projects/my-saas-app \
  -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 with the given slug not found