v1

latestOpenAPI 3.1.02026-08-04134182237.9 KB
Admin

Add Account Rule

Add a typed account rule (Admin only).

post/api/admin/account-rules

Request body

match_typestring required

role|user_id|email|email_domain|company

match_valuestring required

Value to match

categorystring nullable

internal, pilot, or null (billing-only)

labelstring nullable

Friendly display name (optional)

exempt_billingboolean

Waive invoices for matched accounts

exempt_analyticsboolean

Hide matched accounts from admin stats

reasonstring nullable

Why this rule exists

Response

Successful Response

successboolean
messagestring required