Hi someone,
Thanks for reaching out!
Create a sharing link for driveItems with "scope": "anonymous" can be used by anyone with the link.
Sharing link needs to be created for the DriveItem specified by {itemId} in the user's OneDrive.
Reference link: Create Sharing Link
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment."