Modify an existing contact
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
This function allows you to modify an existing contact. See Contact for a list of attributes which are supported for contacts. Only attributes marked as Read-Write can be modified using this endpoint.
NoteWhen editing a contact, including the add or remove actions will allow you to specify a list of items to update/remove from the field's existing contents. Leaving out add or remove will replace the fields contents entirely.
Examples:
{ "keywords": { "add":["test"] } }
{ "keywords": { "remove":["test"] } }
A successful update returns 204 No Content with an empty body. Attributes you leave out are not changed.
Contacts in the trashA contact in the trash can't be edited; the request returns
404with{"error":"trashed_object"}. To restore it, send{"trashed": false}. You can include other changes in the same request.
204204 No Content