Skip to main content
DELETE
/
{namespace}
/
{repo_name}
/
workspaces
/
{workspace_id}
/
files
/
{path}
Delete file from workspace staging
curl --request DELETE \
  --url https://hub.oxen.ai/{namespace}/{repo_name}/workspaces/{workspace_id}/files/{path} \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "status_message": "<string>",
  "oxen_version": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

The namespace of the repository

repo_name
string
required

The name of the repository

workspace_id
string
required

The UUID of the workspace

path
string
required

The path to the file to delete (unstage)

Response

File marked for deletion

status
string
required
status_message
string
required
oxen_version
string | null