Update a contact
PUT/api/addressbooks/:addressBookId/contacts/:uid
Replaces the contact's fields with the request body and returns the updated contact with a new etag. This is a full replace, not a patch: omitted fields are cleared, except photo and categories, which are kept when omitted (send "photo": null to remove the photo).
Name rules are the same as when creating a contact. The book's updatedAt is bumped.
Requires editor or admin; viewers get 403. Returns 404 if the contact is not in this book.
Request
Responses
- 200
- 400
- 403
- 404
Updated contact.
Request failed. error says why.
Request failed. error says why.
Request failed. error says why.