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