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:string
required
The ID of the connection record to decline.
Returns
string
The connection record ID.
string
The updated status, e.g.
"declined".string | undefined
ISO timestamp when the request was declined.
Related
- useAcceptConnection — accept instead of decline
- useFetchReceivedPendingConnections — list pending requests

