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

Path Parameters

spaceId
string
required
UUID of the space.
entityId
string
required
UUID of the entity 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: useModerateSpaceEntity