Skip to main content

Overview

useDeleteRule returns a callable function for permanently deleting a rule. Only space admins can delete rules.

Usage Example

Parameters

string
required
UUID of the space.
string
required
UUID of the rule to delete.

Returns

string
Confirmation message.
object
The id and title of the deleted rule.