Restore a library from trash
Restores a previously-trashed library so it reappears in default list/search results. Works as long as the library row still exists — once get_library returns 404 the row is gone and restore is no longer possible. If the background drain has already started purging assets, restore succeeds but recovers only the assets the drain hasn't gotten to yet.
Pairs with trash_library. To restore individual trashed assets within an untrashed library, use restore_assets instead.
Path parameters
Library ID (with lib_ prefix) of the trashed library to restore.
Library ID (with lib_ prefix) of the trashed library to restore.
Response
Successful Response
Changes
Changed in 4 of the 79 revisions of this API.18
- ▲
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
- ○
- ○
added the optional property
storage_limit_bytesto the response with the200statusresponse-optional-property-added
- ○
added the required property
storage_used_bytesto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
- ○