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.
Path parameters
Library ID (with lib_ prefix) of the library to trash.
Library ID (with lib_ prefix) of the library to trash.
Response
Successful Response
Empty acknowledgment returned when an operation succeeds.
Changes
Changed in 4 of the 79 revisions of this API.27
- ▲
response property
detaillist-of-types was widened by adding typesstringto media typeapplication/jsonof response422response-property-list-of-types-widened
- ○
the response property
detailbecame required for the status422response-property-became-required
- ▲
- ○
added the media type
application/jsonfor the response with the status404response-media-type-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ▲
removed the success response with the status
204response-success-status-removed
- ○
added the success response with the status
200response-success-status-added
- ▲
- ○
endpoint added
endpoint-added
- ○