Overview
useReorderRules returns a callable function for reordering a space’s rules by providing a new ordered array of rule IDs. Only space admins can reorder rules.
Usage Example
Parameters
Returns
Returns aRule[] array: the full list of rules in their new order. useFetchManyRules returns them in this order.
