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 parameter | Description |
|---|---|
| path | Path to delete (required) |
| ws | Workspace 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"