Delete workspace artifacts
curl --request DELETE \
--url https://aquila.attaxr.com/api/workspace/artifacts \
--cookie better-auth.session_token=const options = {method: 'DELETE', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/workspace/artifacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workspace/artifacts"
headers = {"cookie": "better-auth.session_token="}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"deleted": 123,
"failed": [
"<string>"
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Workspace
Delete workspace artifacts
Deletes artifacts from the calling user’s R2 workspace. A body of deletes exactly those artifacts (the multi-select case). An empty body deletes every artifact. The response reports the deleted count and the paths that failed, so the UI can confirm what actually went.
DELETE
/
api
/
workspace
/
artifacts
Delete workspace artifacts
curl --request DELETE \
--url https://aquila.attaxr.com/api/workspace/artifacts \
--cookie better-auth.session_token=const options = {method: 'DELETE', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/workspace/artifacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workspace/artifacts"
headers = {"cookie": "better-auth.session_token="}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"deleted": 123,
"failed": [
"<string>"
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
