Attachments
Delete an attachment
Files can be uploaded to Aha! as a sub-resource on any resource that supports them. These resources support attachments:
- Record descriptions (the description of a feature, requirement, etc.)
- Comments
- To-dos
- Custom note fields
The format of an attachment is either a multipart/form-data upload with the input name attachment[data] or a JSON payload pointing to an URL link:
{
"attachment": {
"file_url": "https://www.aha.io/",
"content_type": "text/html",
"file_name": "home_page.html"
}
}
delete/attachments/{attachment_id}
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
attachment_idstring required
AttachmentId identifier
Response
No content - operation successful
Changes
No recorded changes to this operation across all 2 revisions of this API.