Stay organized with collections
Save and categorize content based on your preferences.
The processes to update or delete a shared contact are similar.
Update a shared contact
When you update an entry, you must preserve all the XML that was present when
you retrieved the entry from the server. Otherwise the ignored elements are
deleted. Updates can take up to 24 hours to be reflected in the email address
auto-complete and the contact manager.
To update an existing shared contact, do the following:
Send a PUT request with the updated entry in the message body to the
contact's edit URL. Use the application/atom+xml content type and make
sure that the <id> value in the updated entry exactly matches the <id>
of the existing entry. The edit URL ends with a version number, in order to
detect conflicts of updates from different sources. For more information,
see
versioning.
Deleted shared contacts can take up to 24 hours to disappear from the email
address autocomplete and the contact manager. To update existing contacts, see
Updating contacts.
Don't update contacts by deleting contacts and then re-adding them.
To delete a shared contact, send a DELETE request to the contact's
edit URL. This is the same URL used to
update contacts.
Google retains placeholders for deleted contacts for 30 days after deletion.
During that time, you can request the placeholders by using the showdeleted
query parameter.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[],[],null,["The processes to update or delete a shared contact are similar.\n\nUpdate a shared contact\n\nWhen you update an entry, you must preserve *all* the XML that was present when\nyou retrieved the entry from the server. Otherwise the ignored elements are\ndeleted. Updates can take up to 24 hours to be reflected in the email address\nauto-complete and the contact manager.\n\nTo update an existing shared contact, do the following:\n\n1. [Get the entry that you want to update](/workspace/admin/domain-shared-contacts/get-shared-contacts).\n2. Edit the entry.\n3. Send a `PUT` request with the updated entry in the message body to the\n contact's edit URL. Use the `application/atom+xml` content type and make\n sure that the `\u003cid\u003e` value in the updated entry exactly matches the `\u003cid\u003e`\n of the existing entry. The edit URL ends with a version number, in order to\n detect conflicts of updates from different sources. For more information,\n see\n [versioning](https://developers.google.com/gdata/docs/1.0/reference#Optimistic-concurrency).\n\n Update the entry: \n\n ```xml\n \u003centry\u003e\n \u003cid\u003ehttps://www.google.com/m8/feeds/contacts/DOMAIN/base/8411573\u003c/id\u003e\n \u003cupdated\u003e2008-02-28T18:47:02.303Z\u003c/updated\u003e\n \u003ccategory scheme='http://schemas.google.com/g/2005#kind'\n term='http://schemas.google.com/contact/2008#contact' /\u003e\n \u003ctitle type='text'\u003eTITLE_NAME\u003c/title\u003e\n \u003cgd:name\u003e\n \u003cgd:fullName\u003eFIRST_NAME LAST_NAME\u003c/gd:fullName\u003e\n \u003c/gd:name\u003e\n \u003ccontent type='text'\u003eNOTES\u003c/content\u003e\n \u003clink rel='self' type='application/atom+xml'\n href='https://www.google.com/m8/feeds/contacts/DOMAIN/PROJECTION/8411573' /\u003e\n \u003clink rel='edit' type='application/atom+xml'\n href='https://www.google.com/m8/feeds/contacts/DOMAIN/PROJECTION/8411573/1204224422303000' /\u003e\n \u003cgd:phoneNumber rel='http://schemas.google.com/g/2005#other'\n primary='true'\u003ePRIMARY_PHONE_NUMBER\u003c/gd:phoneNumber\u003e\n \u003cgd:extendedProperty name=\"CUSTOM_PROPERTY\" value=\"CUSTOM_PROPRTY_VALUE\" /\u003e\n \u003c/entry\u003e\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDOMAIN\u003c/var\u003e: The URL for your domain---for example, example.com.\n - \u003cvar translate=\"no\"\u003eTITLE_NAME\u003c/var\u003e: A name for the contact entry---for example, example.com contact list.\n - \u003cvar translate=\"no\"\u003eFIRST_NAME\u003c/var\u003e: The first name of the shared contact---for example, Alex.\n - \u003cvar translate=\"no\"\u003eLAST_NAME\u003c/var\u003e: The last name of the shared contact---for example, Kim.\n - \u003cvar translate=\"no\"\u003ePROJECTION\u003c/var\u003e: The projection value that specifies the `gd:extendedProperty` elements. For a list of supported values, see [Projection values](/workspace/admin/domain-shared-contacts/extended-properties-projections#projection_values).\n - \u003cvar translate=\"no\"\u003ePRIMARY_PHONE_NUMBER\u003c/var\u003e: The preferred phone number for the shared contact---for example, (206)555-1212.\n - \u003cvar translate=\"no\"\u003eCUSTOM_PROPERTY\u003c/var\u003e: A name for a custom property that you want to store about the shared contact---for example, pet.\n - \u003cvar translate=\"no\"\u003eCUSTOM_PROPRTY_VALUE\u003c/var\u003e: A value for a custom\n property that you want to store about the shared contact---for example,\n hamster.\n\n The following is an example of an updated entry for a shared contact with\n the edit URL highlighted: \n\n ```xml\n \u003centry\u003e\n \u003cid\u003ehttps://www.google.com/m8/feeds/contacts/example.com/base/8411573\u003c/id\u003e\n \u003cupdated\u003e2008-02-28T18:47:02.303Z\u003c/updated\u003e\n \u003ccategory scheme='http://schemas.google.com/g/2005#kind'\n term='http://schemas.google.com/contact/2008#contact' /\u003e\n \u003ctitle type='text'\u003eFitzgerald\u003c/title\u003e\n \u003cgd:name\u003e\n \u003cgd:fullName\u003eFitzgerald\u003c/gd:fullName\u003e\n \u003c/gd:name\u003e\n \u003ccontent type='text'\u003eNotes\u003c/content\u003e\n \u003clink rel='self' type='application/atom+xml'\n href='https://www.google.com/m8/feeds/contacts/example.com/full/8411573' /\u003e\n \u003clink rel='edit' type='application/atom+xml'\n href='https://www.google.com/m8/feeds/contacts/example.com/full/8411573/1204224422303000' /\u003e\n \u003cgd:phoneNumber rel='http://schemas.google.com/g/2005#other'\n primary='true'\u003e456-123-2133\u003c/gd:phoneNumber\u003e\n \u003cgd:extendedProperty name=\"pet\" value=\"hamster\" /\u003e\n \u003cgd:extendedProperty name=\"cuisine\"\u003e\n \u003citalian /\u003e\n \u003c/gd:extendedProperty\u003e\n \u003c/entry\u003e\n ```\n\nDelete shared contacts\n\nDeleted shared contacts can take up to 24 hours to disappear from the email\naddress autocomplete and the contact manager. To update existing contacts, see\n[Updating contacts](#update_a_shared_contact).\nDon't update contacts by deleting contacts and then re-adding them.\n\n- To delete a shared contact, send a `DELETE` request to the contact's edit URL. This is the same URL used to [update contacts](#update_a_shared_contact).\n\nGoogle retains placeholders for deleted contacts for 30 days after deletion.\nDuring that time, you can request the placeholders by using the `showdeleted`\nquery parameter.\n\nNext steps\n\n[Update or delete a photo for a shared contact](/workspace/admin/domain-shared-contacts/update-delete-photo-shared-contacts)"]]