Skip to main content
DELETE
/
projects
/
{project_reference}
/
files
/
{file_path}
Delete Project File
curl --request DELETE \
  --url https://api.veryfront.com/projects/{project_reference}/files/{file_path} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain

file_path
string
required

File path (URL-encoded, e.g., pages%2Findex.mdx)

Query Parameters

branch_id
string<uuid>

Branch ID (null for main branch)

Response

File deleted successfully