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

Promise<void>: resolves with nothing once the rule is deleted.