Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Returns a function that deletes a connection record by itsconnectionId. This works for both withdrawing a pending sent request and disconnecting an established connection. The current user must be authenticated.
If you don’t have the connection ID, use useRemoveConnectionByUserId instead.
Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the connection record to remove.
Returns
A confirmation message.
Related
- useRemoveConnectionByUserId — remove by user ID instead
- useFetchConnections — returns
idon each connection entry

