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...

  1. Get the person's user feed. See Search for a user's profile.

  2. 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.

  3. Send a DELETE request to the web address specified in the href attribute.

This operation only deletes the data stored in the extension, it does not remove the definition of the extension.

Table 1. 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

Error codes

Input

DELETE /profiles/atom/profileExtension.do?email=jdoe@example.com&extensionId=
 profileLinks HTTP/1.1
Host: profiles.enterprise.example.com


Parent topic

Work with profile extensions

Related reference
Search for a user's profile


   

 

});