Directus / @directus/sdk / rest / deleteNotification
Function: deleteNotification()
deleteNotification<
Schema
>(key
):RestCommand
<void
,Schema
>
Delete an existing notification.
Type parameters
• Schema extends object
Parameters
• key: DirectusNotification
<Schema
>["id"
]
Returns
RestCommand
<void
, Schema
>
Throws
Will throw if key is empty