> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Rule

> Delete a community rule from a space

Permanently deletes a rule. Only space admins can delete rules.

## Path Parameters

<ParamField path="spaceId" type="string" required>
  UUID of the space.
</ParamField>

<ParamField path="ruleId" type="string" required>
  UUID of the rule to delete.
</ParamField>

## Response

<ResponseField name="message" type="string">
  Confirmation message.
</ResponseField>

<ResponseField name="deletedRule" type="object">
  The `id` and `title` of the deleted rule.
</ResponseField>

See also: [useDeleteRule](/hooks/spaces/rules/use-delete-rule)
