Released prior to 1.43.
Reject the connection request from a requesting user.
This endpoint allows the user to reject a specific connection request. To define which connection request is to be rejected, the
userId of the user who initiated the connection request must be included in the body.
Pods from all users involved need to have
crossPod enabled between them.
Reject the connection between the requesting user and request sender. If both users are in the same private pod, an error will be returned because both users have an implicit connection which cannot be rejected.
Currently, there are four possible connection status:
- PENDING_INCOMING: The specified user requested to connect with the calling user.
- PENDING_OUTGOING: The calling user requested to connect with the specified user.
- ACCEPTED: The two users are connected.
- REJECTED: The two users are not connected.
The following table shows the connection current behaviors:
|Initial Connection Status||Request Action||New Connection Status|
|None (connection did not exist)||Connect||PENDING_OUTGOING|