Delete Project
Permanently remove a recording project.
DELETE
https://api.identitycall.ai/api/v1/public/projects/:idDelete a project. Account-wide API keys only.
Requires delete permission
This action is irreversible. Deleting a project cascades to its recordings, dialogues, goal evaluations, virtual numbers, voice agents, and other dependent records. Make sure you have exported anything you need first.
API Key Scope
| Scope | Behavior |
|---|---|
| Account-wide | Allowed. |
| Project-scoped | 403 Forbidden — project-scoped keys cannot delete projects. |
Path Parameters
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | - | Numeric project ID. |
Request
cURL
curl -X DELETE "https://api.identitycall.ai/api/v1/public/projects/42" \
-H "Authorization: Bearer $IDENTITYCALL_API_KEY"Response
Returns 204 No Content on success with an empty body.
Errors
| Status | Condition |
|---|---|
| 401 | Missing or invalid Authorization header. |
| 403 | API key lacks delete permission, or the key is project-scoped. |
| 404 | Project does not exist in the account. |
Example 403 body for a project-scoped key:
{
"error": "Project-scoped API keys cannot create or destroy projects"
}Try It
Try It
See also
- List Projects — find the project you want to delete.
- Get Project — confirm the right project before destruction.
- Create Project — provision a replacement.