Skip to main content
DELETE
Delete branch file draft

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

branchName
string
required

Branch name

filePath
string
required

Existing source-file path whose pending updates are discarded and committed body durably restored. URL-encode this path.

Response

Draft discarded; already absent drafts also succeed.

ok
enum<boolean>
required
Available options:
true