What program or app were you using when deleting the Share? Windows File Explorer/Mac Finder or one of the WD apps or MyCloud web portal?
Are you running backups of the My Cloud data using the embedded Safepoint/Backup feature in the My Cloud Dashboard?
If one has been using Safepoint/Backup they might be able to recover any deleted data provided that data was backed up recently.
The single bay/single drive My Cloud units do not feature a “recycle bin” option that the more expensive multi bay My Cloud models feature.
The My Cloud is like any other hard drive. If a user deletes the data, even accidentally/inadvertently, it is not the fault of the hard drive, rather the user who deleted the file. There are any number of third party data recovery programs and services that one can use (or pay for) to attempt data recovery on a hard drive. Search this subforum (using the magnifying glass icon upper right) as there are a number of past discussions covering how to attempt data recovery on a My Cloud hard drive.