Directus / @directus/sdk / rest / deleteFiles
Function: deleteFiles() ​
deleteFiles<
Schema
>(keys
):RestCommand
<void
,Schema
>
Delete multiple files at once.
Type Parameters ​
• Schema
Parameters ​
• keys: DirectusFile
<Schema
>["id"
][]
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if keys is empty