Skip to main content
POST
POST /api/setup-super-admin
One-time setup endpoint to create super admin accounts. Usage: POST /api/setup-super-admin with body { "password": "OpenDispatch123!" } This endpoint should be called once during initial setup. It will create the super admin accounts if they don’t already exist. Security Note: After running this once, consider removing this file or adding additional protection.

Response

Returns unknown on success.

Example