Shared link already exists how can i delete it?

Nextcloud version (eg, 15.0.7):
Operating system and version ( freenas jail 11.2 release):
Apache or nginx version (Apache/2.4.39 (FreeBSD)):
PHP version (eg, 7.2.18):

The issue you are facing:

The shared link I am trying to create already exists, but when I try to open the link that is suppose to exists I get error that no files there.

Where are this links saved? I’d like to delete that share link and then reassing it to share different folder.

Is this the first time you’ve seen this error? (Y/N): Y

So? Is there any way to see and maybe delete links from DB?

Hello.

Check your
dbnextcloud table oc_activity

Hello, Adures,

Look in the oc_share table.

mysql> SELECT id,token FROM oc_share\G