flagUser

fun flagUser(userId: String, reason: String? = null, customData: Map<String, String> = emptyMap())

Flags a user identified by the provided ID.

Parameters

userId

The ID of the user to flag.

reason

The reason for flagging the user.

customData

Additional key-value data submitted with the request.