Skip to main content

Overview

useDeclineMember returns a callable function for declining a pending join request. Sets the membership status to "rejected". Requires the caller to be a moderator or admin.

Usage Example

Parameters

string
required
UUID of the space.
string
required
UUID of the membership record to decline.

Returns

string
Confirmation message.
object
Updated membership with id and status: "rejected".