Skip to main content

Overview

useUnbanMember returns a callable function for unbanning a member. Sets their membership status from "banned" back to "active". Requires the caller to be a moderator or admin.

Usage Example

Parameters

spaceId
string
required
UUID of the space.
memberId
string
required
UUID of the membership record to unban.

Returns

message
string
Confirmation message.