Using the Atom Publishing Protocol, also known as AtomPub, you can invite someone to become your colleague, and accept or decline invitations you have received from others.
Inviting a person to become your colleague
To invite a person to become your colleague, send an Atom entry document containing the connection resource to the person's colleague connections feed.
To remove an existing colleague relationship from your profile, or to decline an invitation to become a colleague, use the HTTP DELETE method.
To retrieve complete information about a colleague relationship, use the edit link found in the connection entry in the colleague connections feed.
Accepting an invitation to become a colleague
To accept an invitation to be a colleague, send an updated connection document in Atom format to the existing connection's edit web address.