Initialize organization settings defaults
Idempotently applies any unapplied settings-default revision using stable keys. The organization type and revision are read from a locked database row. New organizations run the same initializer during creation; this manager command repairs legacy or partially initialized organizations without recreating defaults intentionally removed after a revision was applied.
Idempotently applies any unapplied settings-default revision using stable keys. The organization type and revision are read from a locked database row. New organizations run the same initializer during creation; this manager command repairs legacy or partially initialized organizations without recreating defaults intentionally removed after a revision was applied.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Response Body
application/json
curl -X POST "https://example.com/settings-defaults/initialize"{ "initialized": { "shadeSystems": 0, "implantSystems": 0, "orderFilterPresets": 0, "reports": 0, "qcSettings": 0, "productionSettings": 0, "receivingCategories": 0, "receivingSources": 0, "inventoryCategories": 0, "inventoryAdjustmentReasons": 0 }}