Skip to main content
Spaces can define community rules — titled and optionally described guidelines that are publicly visible to all users. Rules are ordered and can be reordered by admins. They are read-only for regular members.

Fetching Rules

Rules are publicly readable without authentication:

Creating Rules

Only space admins can create rules:

Updating and Deleting Rules

Reordering Rules

Admins can reorder rules by providing a new ordered array of rule IDs:
The order field on each rule reflects its position in the list. Rules are typically displayed in ascending order.

Rule Data Shape

Each rule returned by the API has the following fields:

Hook Reference