Directus / @directus/sdk / rest / deleteContentVersions
Function: deleteContentVersions() ​
deleteContentVersions<
Schema>(keys):RestCommand<void,Schema>
Defined in: rest/commands/delete/versions.ts:12
Delete multiple existing Content Versions.
Type Parameters ​
• Schema
Parameters ​
keys ​
DirectusVersion<Schema>["id"][]
Returns ​
RestCommand<void, Schema>
Throws ​
Will throw if keys is empty