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