Files

Archive (soft-delete) a file

Sets archivedAt + the archivedBy stamp. Blob stays in storage and the org's storage counter stays incremented until the 30-day trash cleanup cron hard-deletes it. Restorable via PATCH { restore: true }.

delete/api/workspaces/{slug}/files/{fileId}

Request

  • Base URL
    https://trydock.ai
  • Auth
    HTTP bearer

Path parameters

slugstring required
fileIdstring required

Response

Archived

oktrue required

Changes

No recorded changes to this operation across all 2 revisions of this API.