Set the 2FA source provider
POST
/v1/integrations/sync/two-factor-source
const url = 'https://api.varman.io/v1/integrations/sync/two-factor-source';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"example","provider":"google-workspace"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/integrations/sync/two-factor-source \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "example", "provider": "google-workspace" }'Set the 2FA source provider in Varman. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organizationId
Auto-resolved from your API key / session. You can omit this; it is ignored by the server.
string
provider
Provider slug whose 2FA check feeds the People-tab 2FA column (must be bound to the 2FA task — call available-2fa-sources for options). Pass null or omit to clear the source.
object
Example
google-workspace