Skip to main content
Moderate Message
Takes a direct moderation action on a chat message in a space’s integrated conversation. Requires the caller to be a moderator or admin of the space.

Path Parameters

string
required
UUID of the space.
string
required
UUID of the chat message to moderate.

Body Parameters

string
required
The moderation action. Only "removed" is supported — chat messages cannot be approved via this endpoint.
string
Optional reason for the removal. Up to 1,000 characters.
string
Service or master key only: the moderator the key acts for. The request then has exactly that user’s moderation permissions; omit it to act as the project.

Response

string
Confirmation message.
string
The resulting status: "removed".

Error Responses

The user named by actingUserId cannot moderate this space.
A user token sent an actingUserId other than its own user.