Anytype icon

Anytype

Interact with the Anytype API

Chat → Delete Message

AI-generated

Summary

Delete a specific message from a chat within a given space in Anytype.

Inputs

  • Space (required) — ID of the space containing the chat.
  • Chat (required) — ID of the chat containing the message.
  • Message ID (required) — ID of the message to delete (e.g., obtained from Get Messages).

Output shape

a single record representing the deleted message

The operation returns the deleted message object unwrapped from the API response under 'message'. There is no pagination or list output.

Examples

Example 1: Delete a message from a chat

Provide the Space ID, Chat ID, and Message ID to delete that specific chat message.

Links

Discussion