When the original version of an asset (upload delivery type) has been deleted and there is a need to restore it from the backup. The asset can be restored from the Media Library console or through the Admin API Restore method.
To restore the asset through the Media Library Console, you can check the steps described in this documentation:
Alternatively, you can also use one of the Cloudinary SDKs Admin API Restore method (for example, using the Node JS SDK):
cloudinary.v2.api.restore(["image1", "image2"],
function(error, result){
console.log(result);
}
);
For more details on restoring resources using the Admin API Restore method: https://cloudinary.com/documentation/admin_api#restore_resources
Comments
0 comments
Please sign in to leave a comment.