Antony REST icon

Antony REST

Call known Antony REST API operations

Actions159

Chat → Remove Chat Attachment

AI-generated

Summary

Remove an attachment from a specified chat by sending a POST request to the Antony REST API with the chat ID and attachment removal details.

Inputs

  • Chat ID (required) — The ID of the chat from which the attachment should be removed.
  • Body Input Mode — Choose whether to input the request body as JSON or as form fields. Defaults to JSON.
  • Body JSON — A JSON object specifying the attachment removal details, used when Body Input Mode is JSON.
  • Body Parameters — A collection of name-value pairs specifying the attachment removal details, used when Body Input Mode is Form Fields.

Output shape

a list of JSON objects

Returns the response from the Antony API normalized as JSON items. On success, this generally includes data about the removal operation. In case of failure and if 'Continue On Fail' is enabled, outputs an error message per item.

Links

Discussion