ReportAttachmentCollection.delete¶
Delete an attachment.
Server: DELETE /api/reports/{id}/attachments/{attachment_id}.
Signature¶
delete(attachment_id: str) -> None
Parameters¶
| Name | Type | Required | Default |
|---|---|---|---|
attachment_id |
str |
yes | - |
HTTP parameters¶
| Name | In | Type | Required | Default |
|---|---|---|---|---|
attachment_id |
path |
string |
yes | - |
report_id |
path |
string |
yes | - |
Fields¶
| Field |
|---|
attachment_id |
Return shape¶
HTTP 204 — No Content
Permission¶
Required permission: report:update
HTTP¶
DELETE /api/reports/{report_id}/attachments/{attachment_id} (deleteReportAttachment)
Usage¶
report_attachment_collection.delete(attachment_id)