This function adds an External Authentication authorization link to an account.
preferred required | string The preferred username of the account on the identity provider. Example: |
provider required | string The name of the identity provider. Example: |
subject required | string The unique identifier for the user at the identity provider. Example: |
username required | string The account's username. Example: |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ link_user_authn_provider \ username='example' \ provider_id='google' \ subject_unique_identifier='123456789012345678901' \ preferred_username='Example'
{- "metadata": {
- "command": "link_user_authn_provider",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}