Skip to Content

ForumModerationApi

All URIs are relative to https://business.apis.kesk.app/v1 

MethodHTTP requestDescription
assignForumModeratorPOST /community/moderation/assign-moderatorAssign a community member as a moderator for a specific category.
banForumProfilePOST /community/moderation/profiles/{profile_id}/banBan a community member from forum participation.
hideForumCommentPOST /community/moderation/comments/{comment_id}/hideHide a comment from community visibility.
hideForumPostPOST /community/moderation/posts/{post_id}/hideHide a post from community visibility.
removeForumModeratorPOST /community/moderation/remove-moderatorRevoke moderator privileges from a community member.
unbanForumProfilePOST /community/moderation/profiles/{profile_id}/unbanRestore forum participation privileges to a banned member.
unhideForumCommentPOST /community/moderation/comments/{comment_id}/unhideRestore visibility of a previously hidden comment.
unhideForumPostPOST /community/moderation/posts/{post_id}/unhideRestore visibility of a previously hidden post.

assignForumModerator

ModeratorAssignmentResponse assignForumModerator(AssignModeratorRequest)

Assign a community member as a moderator for a specific category.

Grants moderation privileges to a forum profile for a designated category, enabling them to manage content, hide/unhide posts and comments, and enforce community guidelines within their assigned scope. This operation is restricted to administrators only.

Parameters

NameTypeDescriptionNotes
AssignModeratorRequestAssignModeratorRequestRequest containing the profile ID to promote and the category ID for their moderation scope

Return type

ModeratorAssignmentResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

banForumProfile

ModerationActionResponse banForumProfile(profile_id)

Ban a community member from forum participation.

Restricts a forum profile from creating posts, comments, and other community interactions. This is the most severe moderation action, typically used for repeat offenders, spam accounts, or serious violations of community guidelines. Banned profiles can be unbanned if circumstances change.

Parameters

NameTypeDescriptionNotes
profile_idLongThe unique identifier of the forum profile to ban from community participation[default to null]

Return type

ModerationActionResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

hideForumComment

ModerationActionResponse hideForumComment(comment_id)

Hide a comment from community visibility.

Removes a comment from public view while preserving it in the database for audit purposes. This action is used to moderate comments that violate community standards, contain inappropriate content, or require review. Hidden comments can be restored later if deemed acceptable.

Parameters

NameTypeDescriptionNotes
comment_idLongThe unique identifier of the comment to hide from community view[default to null]

Return type

ModerationActionResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

hideForumPost

ModerationActionResponse hideForumPost(post_id)

Hide a post from community visibility.

Removes a post from public view while preserving it in the database for audit purposes. This action is used to moderate content that violates community guidelines, is inappropriate, or requires review. Hidden posts can be restored later if deemed acceptable.

Parameters

NameTypeDescriptionNotes
post_idLongThe unique identifier of the post to hide from community view[default to null]

Return type

ModerationActionResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

removeForumModerator

EmptyResponse removeForumModerator(RemoveModeratorRequest)

Revoke moderator privileges from a community member.

Removes moderation privileges from a forum profile, preventing them from performing moderation actions. This operation is used when a moderator’s term ends, privileges are revoked, or when restructuring moderation teams. Restricted to administrators only.

Parameters

NameTypeDescriptionNotes
RemoveModeratorRequestRemoveModeratorRequestRequest containing the moderator assignment ID to revoke

Return type

EmptyResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

unbanForumProfile

ModerationActionResponse unbanForumProfile(profile_id)

Restore forum participation privileges to a banned member.

Removes ban restrictions from a forum profile, allowing them to resume community participation. This action is used when a ban period expires, circumstances change, or when a member has successfully appealed their ban and demonstrated commitment to following community guidelines.

Parameters

NameTypeDescriptionNotes
profile_idLongThe unique identifier of the forum profile to restore participation privileges for[default to null]

Return type

ModerationActionResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

unhideForumComment

ModerationActionResponse unhideForumComment(comment_id)

Restore visibility of a previously hidden comment.

Makes a hidden comment visible again to the community, reversing a prior hide action. This enables moderators to reinstate comments that were hidden but are now deemed acceptable, or when a comment has been edited to meet community guidelines.

Parameters

NameTypeDescriptionNotes
comment_idLongThe unique identifier of the comment to restore visibility for[default to null]

Return type

ModerationActionResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

unhideForumPost

ModerationActionResponse unhideForumPost(post_id)

Restore visibility of a previously hidden post.

Makes a hidden post visible again to the community, reversing a prior hide action. This allows moderators to reinstate content that was hidden but is now deemed appropriate, or when a post has been edited to comply with community standards.

Parameters

NameTypeDescriptionNotes
post_idLongThe unique identifier of the post to restore visibility for[default to null]

Return type

ModerationActionResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8