Skip to main content
DELETE
Delete Project

Overview

Permanently delete a project from your Pictory account using its unique identifier. This action removes the project and all associated data, including video files, audio, subtitles, and configuration settings.
This action is permanent and cannot be undone. Once deleted, the project and all its associated files will be permanently removed from your account.
You need a valid API key to use this endpoint. Get your API key from the API Access page in your Pictory dashboard.

API Endpoint


Request Parameters

Path Parameters

string
required
The unique identifier of the project to delete. Can be either a string (for v3 schema projects) or an integer (for v2 schema and earlier projects).Example: 20251222191648030d7df02f5b4054d4ca8831f1369459e25

Headers

string
required
API key for authentication (starts with pictai_)

Response

boolean
Indicates whether the deletion was successful
string
Confirmation message about the deletion

Response Examples


Code Examples

Replace YOUR_API_KEY with your actual API key that starts with pictai_

Usage Notes

Permanent Deletion: Deleted projects cannot be recovered. Ensure you have backups of any important project files (videos, audio, subtitles) before deleting.
Before deleting a project, consider using the Get Project By Id endpoint to retrieve and back up all project assets (video, audio, subtitle files) for archival purposes.
Permission Requirements: You can only delete projects that belong to your account or team. Attempting to delete projects from other accounts will result in a 403 Forbidden error.

Common Use Cases

1. Delete Single Project with Confirmation

Delete a project after user confirmation:

2. Bulk Delete Old Projects

Delete multiple projects based on age criteria:

3. Delete Projects by Source Type

Delete all projects created from a specific source:

4. Back Up Before Delete

Back up project assets before deletion:

5. Safe Delete with Retry Logic

Delete project with error handling and retry:

6. Delete Projects in Specific Folder

Delete all projects within a specific folder:

Best Practices

Safety Measures

  1. Always back up before deletion: Use the Get Project By Id endpoint to retrieve all assets before deleting
  2. Implement confirmation: Require user confirmation before executing delete operations
  3. Use dry runs: Test deletion logic with dry run mode before executing
  4. Log deletions: Keep audit logs of deleted projects for accountability
  5. Handle errors gracefully: Implement proper error handling and retry logic

Bulk Operations

When deleting multiple projects:
  • Add delays between deletions to avoid rate limiting
  • Process deletions in batches
  • Implement comprehensive error handling
  • Provide progress updates to users
  • Log both successes and failures

Recovery Planning

Since deletion is permanent:
  • Maintain regular backups of important projects
  • Export project metadata before deletion
  • Download all media files (video, audio, subtitles) for archival
  • Keep deletion logs for audit trails