OpenAPI 3.1.0raw.githubusercontent.com2026-08-146578348.7 KB

bf08b1e1d8bd

libraries

Move a library to trash

Moves the library and all its contents into the trash. The library becomes inaccessible by default and can be fully restored within 90 days by calling restore_library. After 90 days the library's assets are gradually purged in the background; until the library row itself is removed, restore still works but recovers only the assets not yet purged.

Idempotent — a second call on an already-trashed library no-ops. To trash individual assets without trashing the whole library, use trash_assets instead.

post/api/libraries/{library_id}/trash

Path parameters

library_idstring required

Library ID (with lib_ prefix) of the library to trash.

Library ID (with lib_ prefix) of the library to trash.

Response

Successful Response

DeletionResponse required

Empty acknowledgment returned when an operation succeeds.