Skip to main content
Reorders the organization’s rules. Pass every rule id in the desired order — the request is rejected if the set of ids doesn’t match the org’s rules exactly. Returns the rules in their new order.
This endpoint requires admin privileges.
string
required
Bearer token obtained from the authenticate endpoint. The authenticated user must be an admin.
string[]
required
All of the organization’s rule ids, in the order you want them stored.

Response

array
required
The organization’s rules in the new order. Each object matches the List Organization Rules shape.