You can only remove custom field data from the profile of the user whose credentials you used to authenticate with the server.
To remove the data defined for custom fields added to a profile, complete the following steps:
- Get the person's user feed. See Searching for a user's profile.
- Get the URI of the extension resource which is specified in the href attribute of the <link> element in the user's user feed that has a rel="http://www.ibm.com/xmlns/prod/sn/ext-attr" attribute and a snx:extensionId attribute that matches the extension you want to update.
- Send a DELETE request to the web address specified in the href attribute.