v4

latestOpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
Project API

Deletes a file from the repository

delete/workspaces/{workspace_domain}/projects/{project_name}/repository/contents/{path}

Path parameters

workspace_domainstring required
Example:my-company

The human-readable ID of the workspace

project_namestring required
Example:my-project

The human-readable ID of the project

pathstring required
Example:src/main.js

The path to the file in the repository

Request body

branchstring

The name of the branch to commit to

messagestring required

The commit message

Response

urlstring

API endpoint to GET this object

html_urlstring

Web URL to view this object in Buddy.works

revisionstring

The full SHA hash of the commit

author_datestring date-time

The date when the commit was authored

commit_datestring date-time

The date when the commit was committed

short_revisionstring

The short SHA hash of the commit (first 7 characters)

messagestring

The commit message