Skip to main content
PATCH
Moderate Comment
Takes a direct moderation action on a comment in a space. Requires the caller to be a moderator or admin.

Path Parameters

spaceId
string
required
UUID of the space.
commentId
string
required
UUID of the comment to moderate.

Body Parameters

action
string
required
The moderation action: "approve" or "remove".
reason
string
Optional reason for the moderation action. Up to 1,000 characters.

Response

message
string
Confirmation message.
moderationStatus
string
The resulting status: "approved" or "removed".
See also: useModerateSpaceComment