API Reference workspaces

Delete a file or directory

DELETE/projects/{project_id}/workspace

Remove a file, or a directory with everything under it.

Parameters

Query parameterDescription
pathPath to delete (required)
wsWorkspace UUID — defaults to the project default workspace

Request

curl -X DELETE "$ALLYBUILD_API_URL/projects/$PROJECT_ID/workspace?path=/reports/old.md" \
  -H "Authorization: Bearer $TASK_JWT" \
  -H "Content-Type: application/json"