Skip to main content

Overview

useUpdateRule returns a callable function for updating a rule’s title or description. Only space admins can update rules.

Usage Example

Parameters

string
required
UUID of the space.
string
required
UUID of the rule to update.
object
required
Object containing the fields to update. All fields are optional.

Returns

The updated Rule object.