Authorizations
Project Bearer token (e.g., "Bearer sk-ac-xxxx")
Path Parameters
Disk ID
Query Parameters
File path including filename
from acontext import AcontextClient
client = AcontextClient(api_key='sk_project_token')
# Delete an artifact
client.disks.delete_artifact(
disk_id='disk-uuid',
file_path='/documents/report.pdf'
)
print('Artifact deleted successfully'){
"code": 123,
"error": "<string>",
"msg": "<string>"
}Delete an artifact by path and filename
from acontext import AcontextClient
client = AcontextClient(api_key='sk_project_token')
# Delete an artifact
client.disks.delete_artifact(
disk_id='disk-uuid',
file_path='/documents/report.pdf'
)
print('Artifact deleted successfully'){
"code": 123,
"error": "<string>",
"msg": "<string>"
}Project Bearer token (e.g., "Bearer sk-ac-xxxx")
Disk ID
File path including filename