Restore assets from trash
Restores trashed assets so they reappear in default list/search results. Idempotent — assets that are already live are silently skipped.
Pairs with trash_assets: assets soft-deleted there can be brought back here within the retention window. To restore a whole trashed library, use restore_library.
Authorizations
Gumnut API key (apikey_...) sent as a Bearer token in the Authorization header. Create and manage keys in the Gumnut app, or with the API key endpoints while signed in to it.
Query Parameters
Library that owns the assets. Optional if the user has a single live (non-trashed) library; required when they have multiple.
Body
Request body carrying a list of asset IDs for the bulk trash, restore, and permanent-delete endpoints.
Asset IDs (each with the asset_ prefix) to operate on. Up to 200 ids per request.
1 - 200 elementsResponse
Successful Response
Empty acknowledgment returned when an operation succeeds.