HYEGRO CRM v1.0.0 is now LIVE!!
HYEGRO Docs
Home
User Guide
Developer Guide
API v1.0.0
Home
User Guide
Developer Guide
API v1.0.0
Users
Leads
Contacts
Accounts
Products & Inventory
Deals
Quotations
Orders
Invoices
Cases
Activities & Tasks
Search
METADATA API
Files & Attachments
Users
Leads
Contacts
Accounts
Products & Inventory
Deals
Quotations
Orders
Invoices
Cases
Activities & Tasks
Search
METADATA API
Files & Attachments
Files & Attachments
Copy Page
Create Attachment
POST
Read Attachments
GET
Create Attachment
POST
Delete Attachment
DELETE
Read Attachment By Id
GET
Files & Attachments
Copy Page
Delete Attachment
DELETE
https://backend.test-hyegro.com
/attachments/{attachment_id}
Run in Apidog
Run in Apidog
Delete an attachment by ID.
Args:
attachment_id (int): The ID of the attachment to delete.
db (Session): The database session.
current_user (schemas.User): The user deleting the attachment.
Returns:
schemas.Attachment: The deleted attachment.
Request
Path Params
Generate Code
Query Params
Generate Code
Responses
🟢
200
OK
application/json
Successful Response
Body
Generate Code
Example
true
ðŸŸ
422
Parameter Error
Modified atÂ
2025-04-14 16:23:20
Previous
Create Attachment
Next
Read Attachment By Id