Remove a share
DELETE/api/addressbooks/:addressBookId/shares/:shareId
Removes one user or group share from the address book. The affected users lose access to the book, including over CardDAV, unless another share (direct or through a group) still grants it.
Only admins of the book may remove shares, except when the share is the book's only admin and that user or group is inactive. Any existing member, or a Cloudron admin, may remove that inactive admin. Another member is then promoted to admin (an editor first, otherwise a viewer) so the book is kept.
Returns 404 if shareId is not a share on this book, and 400 when it is the book's last admin and that admin is still active.
Request
Responses
- 204
- 400
- 403
- 404
Removed.
Request failed. error says why.
Request failed. error says why.
Request failed. error says why.