[Help] Share adressbook via api or command line

is there a way to share an addressbook programmatically via api or commandline?

Found the request via firefox console.
Seems like curl -u user:password -H β€˜Content-Type: application/xml; charset=utf-8’ β€˜http://address/remote.php/dav/addressbooks/users/user/addressbook/’ --data β€˜<x4:share xmlns:x4=β€œhttp://owncloud.org/ns”><x4:set><x0:href xmlns:x0=β€œDAV:”>principal:principals/users/user</x0:href></x4:set></x4:share>’

2 Likes