cURL
curl --request DELETE \ --url https://api.replyke.com/api/v6/:projectId/api/v7/users/:userId/connection
{ "message": "<string>", "action": "<string>", "id": "<string>", "status": "<string>", "respondedAt": "<string>" }
Remove, withdraw, or decline a connection by user ID
"declined"
200
"withdraw"
"disconnect"
Self-Disconnect — 400
{ "error": "Cannot disconnect from yourself", "code": "connection/self-disconnect" }
No Connection Found — 404
{ "error": "No connection found between these users that can be removed.", "code": "connection/not-found" }
useRemoveConnectionByUserId