Share dir/file with other users via WebDAV

Hey everybody!

Is there a way to share a file/folder with another nextcloud user via the WebDAV interface?

What I want to do is to create a folder via WebDAV and then share this folder with some users. Creating a folder is easy and well documented here: https://docs.nextcloud.com/server/12/developer_manual/client_apis/WebDAV/index.html#creating-folders-rfc4918

But what about sharing this folder with another Curl --> WebDAV command? Can’t find anything related in the docs or the rfc :frowning:

Thanks for any help in advance!

Dario

Got it: https://docs.nextcloud.com/server/12/developer_manual/core/ocs-share-api.html