Home
Updating profile entries
To update your profile entry, send an updated profile entry document in Atom format to the existing profile's edit Web address.
All existing profile entry information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. For example, if you want to add a new tag to a profile entry, retrieve the existing tags, and send them all back with the new tag in the update request. See Retrieving profile entries for more information.
To get the rel="edit" link for a specific person's profile, retrieve a feed of the profile and specify the output=vcard parameter on the request. See Searching a user's profile for more details.
Users can only update their own profiles. See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method Resource URI Input representation PUT profile Value of the href attribute of the <link rel="edit"> element of the user's profile entry.. profile
Input
Provide a profile entry Atom entry document as the PUT data.The content type of the Atom entry document must be application/atom+xml. The content element of the profile entry must contain a VCARD representation of the profile, and the type attribute must be set to
text
Output
None. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the profile entry was successfully updated. If an error occurs, this header will contain one of the error codes below.
Errors
- HTTP/1.1 400 Bad Request
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Related reference
Searching for a user's profile