Remove()
Remove file attachment
Description
Remove a file attachment by its id.
Package Details
Interface
IFileAttachmentManager
Syntax
await fileAttachmentManager.Remove( int 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
int fileId = 123
var attachment = await _fileAttachmentManager.Remove( fileId );