Skip to main content
PUT
Update enhance-moderation configuration.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Enhance-moderation configuration. All fields are optional; only the fields you send are written.

enabled
boolean

Enable or disable enhance-moderation.

commentDeletionBehavior
enum<string>

What to remove when a comment trips moderation.

Available options:
delete_whole_comment,
delete_attachment_only
confidences
object[]
Required array length: 1 - 100 elements
userModerationExclusionPatterns
string[]

Regex patterns for users excluded from moderation.

Minimum string length: 1

Response

Enhance-moderation configuration

enabled
boolean
default:false
commentDeletionBehavior
enum<string>
default:delete_whole_comment

What to remove when a comment trips moderation.

Available options:
delete_whole_comment,
delete_attachment_only
confidences
object[]
userModerationExclusionPatterns
string[]

Regex patterns for users excluded from moderation.

Minimum string length: 1