assets
Bring a deleted file back
Restore a file from the trash: it rejoins the live library with every version intact, under its original name. It does NOT come back shared — the removal revoked its links, and sharing it again is a fresh, deliberate act. Answers 404 when there is no restorable file with that id (never removed, past the restore window, or another workspace's) and 409 when a live file has taken the name in the meantime — rename that file first.
post/v1/assets/{asset_id}/restore
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}/restore
- Auth: HTTP bearer
Path parameters
asset_idstring uuid required
The asset's id.
Headers
X-Tenant-Idstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.