IBM Connections 4 API: How to Remove an Entry From Saved List Using jQuery Ajax


Connections allows to an user to save an entry and added it into a Saved/Favorite list (atom feed) so Connections can tracking that events that are of specific interest to a user. Connections also allows to remove an entry from that list. Here's one easy way to do it with an asynchronous HTTP (Ajax) request using jQuery.

IBM Connections 4 documentation link: Support for Saved and Actionable Events

Atom API Request Details


Content-Type : application/json
Type PUT
URL {host}/connections/opensocial/basic/rest/activitystreams/@me/@all/@all/{event-Id}


Response Status Code: 200 OK

Example Request


Note: The only element that  requires value is connections, the rest should be sent empty.

Example using jQuery

var strData = '{"id":"","actor":{"id":""},"verb":"","object":{"id":""},"connections":{"saved":"false"}}';
    url : "",
    type : "PUT",
    contentType: "application/json",
    async : true,
    data: strData,
    statusCode : {
        200 : function() {
            console.log('Entry removed');
    error: function(jqXHR, textStatus, errorThrown) {
        console.log(jqXHR + " - " + textStatus + ' - ' + errorThrown);

Note:  console.log can throw errors in IE, they are there for illustrative purposes only and should be changed as required.

About the author

Enterprise Web Developer
Joaquin is an Enterprise Web Developer at Base22 with over seven years of experience designing and developing web solutions for enterprise clients. He is a well rounded web developer with skills building interfaces in IBM WebSphere Portal and WCM, IBM Connections, and many others. He is an Oracle Certified Java Developer and a Microsoft Certified Visual Studio Developer. He blogs at