Skip to main content

Change a share role

PUT 

/api/addressbooks/:addressBookId/shares/:shareId

Changes the role of one share on the address book and returns the updated share. For a group share, members get the new role unless another share gives them a higher one. The role of an inactive user or group cannot be changed; the only action on that share is remove. Only admins of the book may change roles. Returns 404 if shareId is not a share on this book, and 400 when the member is inactive or the change would demote the book's last admin.

Request​

Responses​

Updated share. Unlike the list, it has no name.