Directus / @directus/sdk / rest / deleteShare
Function: deleteShare() ​
deleteShare<
Schema
>(key
):RestCommand
<void
,Schema
>
Delete an existing share.
Type Parameters ​
• Schema
Parameters ​
• key: DirectusShare
<Schema
>["id"
]
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if key is empty