Function: deleteAttachment()
ts
function deleteAttachment(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
author?: string;
comment?: string;
commentOutput?: string;
created?: Date;
filename?: string;
filesize?: string;
id?: number;
mimeType?: string;
url?: string;
}>;Defined in: src/assetsServer/api/attachments.ts:53
Delete an attachment by attachment ID.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { attachmentId: string; } | - |
parameters.attachmentId | string | The attachment ID |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; author?: string; comment?: string; commentOutput?: string; created?: Date; filename?: string; filesize?: string; id?: number; mimeType?: string; url?: string; }>