Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a community rule from a space
useDeleteRule
import { useDeleteRule } from "@sublay/react-js"; function DeleteRuleButton({ spaceId, ruleId }: { spaceId: string; ruleId: string }) { const deleteRule = useDeleteRule(); return ( <button onClick={() => deleteRule({ spaceId, ruleId })}> Delete Rule </button> ); }
Promise<void>