Skip to main content
PATCH
Handle Comment Report
Resolves a filed report against a comment in a space. Requires the caller to be a moderator or admin of that space.

Path Parameters

spaceId
string
required
UUID of the space.
reportId
string
required
UUID of the comment report to resolve.

Body Parameters

commentId
string
required
UUID of the reported comment. Used when performing remove-comment.
actions
string[]
required
One or more actions to take. Must contain at least one value. Available actions:
  • "remove-comment" — marks the comment as removed via moderation
  • "ban-user" — bans the target user from the space (requires userId and reason)
  • "dismiss" — dismisses the report without action (requires summary; cannot be combined with other actions)
summary
string
Summary of the action taken. Required when using dismiss or any non-dismiss action.
userId
string
UUID of the user to ban. Required when ban-user is included in actions.
reason
string
Reason for the ban. Required when ban-user is included in actions.

Response

Returns 201 Created:

Error Responses

Also returned when ban-user is used without userId or reason: