Auth
Begin two-factor setup
Starts TOTP setup for your own account and returns the secret and the `otpauth://` URL for the authenticator app. Two-factor stays off until the first code is confirmed via the enable endpoint. Requires the **viewer** role.
curl -X POST "https://example.com/api/auth/2fa/setup"{ "secret": "string", "otpauthUrl": "string"}Update assistant settings PUT
Updates the connector. Admin only. Pass `apiKey` to set/replace it, or `clearKey` to remove it. Changing the provider, model, base URL, or key clears the verified flag and switches the assistant off until the connection is tested again.
Disable two-factor POST
Turns two-factor off for your own account, confirmed with your password. Requires the **viewer** role.