When you update profile tags, the existing tag information is replaced with the new data. To avoid deleting all existing tags, retrieve the tags that you want to retain first, and send them back with this request. See Retrieving profile tags
for more information.
You can add tags to anyone's collection. You can only replace tags created by the user whose credentials you provided to authenticate with the server. You can remove tags from the tag collection for your profile by leaving them out of the updated set.
To retrieve the tags assigned to a profile from the Profiles tag collection,
1. Get the service document for the person's profile. See Retrieving the Profiles service document
2. Retrieve the value for the href attribute of the link element with the endpoint /profiles/atom/profileTags.do. The value of the rel attribute is http://www.ibm.com/xmlns/prod/sn/tag-cloud
3. Execute a PUT request using the value of the href attribute generated in the previous step.
Note: When you update profile tags, the existing tag information is replaced with the new data. To avoid deleting all existing tags, retrieve the tags that you want to retain first, and send them back with this request
Note: An example of when you might want to use one of the source parameters is if you tagged a person's profile, and then wanted to update it. For example, you tagged Sandy's profile. Now you want to add a new tag to the set. First, you retrieve the existing tags, and then you update them. To both retrieve and update the tags, specify Sandy's information using a target parameter and provide your email or key using a source parameter.
For the input of this operation provide a profile tags Atom categories document.