Skip to main content

Overview

Returns a function that unblocks a user by their ID. Unblocking is idempotent and restores nothing — removed follows and connections stay gone; a previously frozen 1:1 conversation becomes usable again.
Requires the moderation bundle. See Moderation — Blocking.

Usage Example

Parameters

The hook returns a function. That function accepts:
string
required
The ID of the user to unblock (the target). Cannot be the current user’s own ID.

Returns

The returned function resolves to void on success.