In the control panel, I found it was a PUT request. But it’s not mentioned in the doc (/published/web-api/v2.1/share-links.md).
Ensure that you are looking at the most recent version of the documentation. Sometimes, the online version might not be up-to-date, so try to access the documentation from the official source or repository.