| external help file | verkadaModule-help.xml |
|---|---|
| Module Name | verkadaModule |
| online version | https://github.com/bepsoccer/verkadaModule/blob/master/docs/function-documentation/Send-VerkadaAccessUserFaceUnlockInvite.md |
| schema | 2.0.0 |
Sends an invite for an Access user to enrol their face to enable Face Unlock using https://apidocs.verkada.com/reference/postfaceunlockinviteexternaluserviewv2 or https://apidocs.verkada.com/reference/postfaceunlockinviteuserviewv2
Send-VerkadaAccessUserFaceUnlockInvite -userId <String> [-overwrite <Boolean>] [-method <String[]>]
[-x_verkada_auth_api <String>] [-region <String>] [-version <String>] [-errorsToFile]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Send-VerkadaAccessUserFaceUnlockInvite -externalId <String> [-overwrite <Boolean>] [-method <String[]>]
[-x_verkada_auth_api <String>] [-region <String>] [-version <String>] [-errorsToFile]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Enable face unlock for a user by sending them an invitation to enroll their face via mobile device. An email will be sent to the user with a link to complete the enrollment process. If the user already has a face credential and overwrite is False, the request will fail. When overwrite is True, the invitation is sent and the user can upload a new photo which will replace the existing credential. The reqired token can be directly submitted as a parameter, but is much easier to use Connect-Verkada to cache this information ahead of time and for subsequent commands.
Send-VerkadaAccessUserFaceUnlockInvite -externalId 'newUserUPN@contoso.com'
This will send a Face Unlock invite to the user with externalId newUserUPN@contoso.com. The token will be populated from the cache created by Connect-Verkada.
Send-VerkadaAccessUserFaceUnlockInvite -externalId 'newUserUPN@contoso.com' -overwrite $true -x_verkada_auth_api 'v2_sd78d9verkada-token'
This will send a Face Unlock invite to the user with externalId newUserUPN@contoso.com and will overwrite the existing face credential if it exists. The token is submitted as a parameter in the call.
Send-VerkadaAccessUserFaceUnlockInvite -userId '801c9551-b04c-4293-84ad-b0a6aa0588b3' -method 'email'
This will send a Face Unlock invite to the user with userId 801c9551-b04c-4293-84ad-b0a6aa0588b3 via email only, not the default sms and email. The token will be populated from the cache created by Connect-Verkada.
The UUID of the user
Type: String
Parameter Sets: user_id
Aliases: user_id
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: Falseunique identifier managed externally provided by the consumer
Type: String
Parameter Sets: external_id
Aliases: external_id
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe flag that states whether to overwrite the existing profile photo
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe method to send the invite
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @('email','sms')
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe public API token obatined via the Login endpoint to be used for calls that hit the public API gateway
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $Global:verkadaConnection.x_verkada_auth_api
Accept pipeline input: False
Accept wildcard characters: FalseThe region of the public API to be used
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Api
Accept pipeline input: False
Accept wildcard characters: FalseVersion designation for which version of the function to use
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: V2
Accept pipeline input: False
Accept wildcard characters: FalseSwitch to write errors to file
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.