Skip to main content
DELETE
/
api
/
repos
/
{namespace}
/
{repo_name}
/
workspaces
/
clear
Clear workspaces for repo
curl --request DELETE \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/workspaces/clear \
  --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

Namespace for the repository

repo_name
string
required

Name of the repository

Response

Workspaces cleared

status
string
required
status_message
string
required
oxen_version
string | null