I am trying to delete the colleague in the network using IBM Connections API. I am getting HTTP Response status as 405
Abdera abdera = new Abdera();
AbderaClient client = new AbderaClient(abdera);
AbderaClient.registerTrustManager();
client.addCredentials(*********************);
RequestOptions options = client.getDefaultRequestOptions();
String url = "
https://**********/profiles/atom/connections.do?connectionType=colleague&userid="+uid;
ClientResponse response = client.delete(url, options);
Anything wrong in this steps?
Or any other approach to delete the colleague?
Thanks in advance.