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