Overview
Returns a function that declines a pending incoming connection request. After declining, the connection status from the current user’s perspective becomes"declined-received". The current user must be authenticated and must be the recipient.
Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the connection record to decline.
Returns
The connection record ID.
The updated status, e.g.
"declined".ISO timestamp when the request was declined.
Related
- useAcceptConnection — accept instead of decline
- useFetchReceivedPendingConnections — list pending requests

