Skip to main content
DELETE
/
projects
/
{project_reference}
/
branches
/
{branchName}
/
files
/
{filePath}
/
draft
Delete Branch File Draft
curl --request DELETE \
  --url https://api.veryfront.com/projects/{project_reference}/branches/{branchName}/files/{filePath}/draft \
  --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 ID or slug

branchName
string
required

Branch name

filePath
string
required

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

Response

Draft discarded