Remove file attachment
Description
Remove a file attachment by it's id.
Package Details
Interface
IFileAttachmentManager
Syntax
await fileAttachmentManager.Remove(<attachment id>);
Returns
Task
API
DELETE
/api/v1/file-attachments/{id}
Parameters
Parameter | Description | Parameter Type |
---|---|---|
id | The file attachment id | path |
Returns
200 OK
Example
const int id = 123
var attachment = await _fileAttachmentManager.Remove(id);