DELETE /attachments/{attachment_id}
Delete an uploaded file given its attachment ID.
Note that uploaded files that have been referenced in at least one message are automatically deleted once the last message containing a link to them is deleted (whether directly or via a message retention policy).
Uploaded files that are never used in a message are automatically deleted a few weeks after being uploaded.
Attachment IDs can be contained from GET /attachments.
Servers
- https://{subdomain}.zulipchat.com/api/v1
- {server}/api/v1
- https://chat.zulip.org/api/v1
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
attachment_id |
Integer | Yes |
The ID of the attachment to be deleted. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.