...
Remove a file attachment by it's its id.
Package Details
Interface
...
await fileAttachmentManager.Remove( <attachment id>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
...
Code Block | ||
---|---|---|
| ||
int fileId = 123 var attachment = await _fileAttachmentManager.Remove( |
...
fileId ); |