Restore Multiple
assets.restore_multiple(AssetRestoreMultipleParams**kwargs) -> AssetRestoreMultipleResponse
POST/assets/restore
Restore assets deleted in the last 30 days. Tags and collections are not restored. Max plan and above only.
Restore Multiple
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
response = client.assets.restore_multiple(
asset_ids=["string"],
)
print(response.restored_asset_ids){
"restoredAssetIds": [
"string"
],
"skippedAssets": [
{
"assetId": "assetId",
"reason": "not-found"
}
]
}Returns Examples
{
"restoredAssetIds": [
"string"
],
"skippedAssets": [
{
"assetId": "assetId",
"reason": "not-found"
}
]
}