Cant you just open mel reference (hit f1 ,scroll and open developpers rescources...) and type "disconnect" in the by substrings box? After this, its not terribly hard to tip ehat the command to do so is now is it.
Anyway its
disconnectAttr object.SourceAttrib otherObject.destinationAttrib;
next you want to look at
listConnections command...