Home
Delete profile extension data
To remove the data defined for custom fields added to a profile, send a HTTP DELETE request to the Profiles Extension resource.
You can only remove custom field data from the profile of the user whose credentials you used to authenticate with the server. See Authenticating requests for information about how to authenticate the request. To remove the data defined for custom fields added to a profile...
This operation only deletes the data stored in the extension, it does not remove the definition of the extension.
- 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.
Atom API request details
Method Resource URI Input and output representations DELETE profile extension Value of 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 remove. none
Input
None
Output
None Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the extension information was successfully deleted and no content is returned.
Error codes
- HTTP/1.1 400 Bad Request
- HTTP/1.1 403 Forbidden
- HTTP/1.1 404 Not Found
Input
DELETE /profiles/atom/profileExtension.do?email=jdoe@acme.com&extensionId= profileLinks HTTP/1.1 Host: profiles.enterprise.acme.com
Working with profile extensions
Related reference
Searching for a user's profile