This operation is only available on the server.

Required Permissions

  • member:moderate

Usage

import { whopSdk } from "@/lib/whop-sdk";

const result = await whopSdk.users.unbanUser({
	// The ID of the user to unban
	userId: "user_XXXXXXXX" /* Required! */,
});

Example output

const result = true;