TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Meza-dev/Ghostly/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /v1/projects/:id endpoint permanently removes a project record from the database. This endpoint accepts both API key and JWT authentication, and enforces that only the project’s owner can delete it — requests for projects owned by a different user will receive a 404 rather than a 403 to avoid leaking resource existence.
Authentication
All requests to/v1/projects/:id require authentication. Pass credentials using one of the two supported schemes:
| Scheme | Header |
|---|---|
| API Key | X-Api-Key: <your-key> |
| JWT (session) | Authorization: Bearer <token> |
Path parameters
The UUID of the project to delete. Must match a project that belongs to the authenticated user.
Response — 200 OK
Returned when the project was found and successfully deleted.Always
true on a successful deletion.Response — 404 Not Found
Returned when no project with the givenid exists for the authenticated user. This is also returned when the project exists but belongs to a different user.
Always
false when the project was not found.A human-readable error message:
"not found".The 404 response is intentionally returned for both “project does not exist” and “project belongs to another user” cases. This prevents authenticated users from enumerating other users’ project IDs.