This function adds an External Authentication authorization link to an account.
uapi --output=jsonpretty \ --user=username \ ExternalAuthentication \ add_authn_link \ username='example' \ provider_id='google' \ subject_unique_identifier='123456789012345678901' \ preferred_username='Example'
{- "apiversion": 3,
- "func": "add_authn_link",
- "module": "ExternalAuthentication",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}