assets
Move a file to the trash
Remove a file from the workspace. It stays restorable from the trash for 30 days (GET /assets/trash, POST /assets/{id}/restore); every other read of it fails from here on (older versions included), and the name becomes free for reuse. Its open share links are revoked for good, so restoring the file does not re-open them — share it again with a new link. The reason travels in the request BODY, not the query string, so a person's words about why a file went away never land in an access log. Answers 404 when the file does not exist, has already been removed, or belongs to another workspace.
delete/v1/assets/{asset_id}
Request
- Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
- URL: https://api.patricia.app/v1/assets/{asset_id}
- Auth: HTTP bearer
Path parameters
asset_idstring uuid required
The asset's id.
Headers
X-Tenant-Idstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.