Skip to content

Conversation

@bepsoccer
Copy link
Owner

Adds functions to manage Verkada Access user MFA codes.

  • Adds Add-VerkadaAccessUserMfaCode function to add MFA code credentials to a user.
  • Adds Remove-VerkadaAccessUserMfaCode function to remove MFA code credentials from a user.
  • Updates verkadaModule.psd1 to export the new functions and aliases.
  • Removes unnecessary audit log request from Connect-Verkada.ps1.

Removes an unnecessary audit log request during the connection process. This simplifies the connection and avoids potentially unnecessary API calls that may fail due to permissions.
Adds a new function `Add-VerkadaAccessUserMfaCode` to allow adding MFA codes to users via the Verkada API.

This function takes user ID or external ID, and MFA code as input and makes a POST request to the Verkada API to associate the MFA code with the specified user.

closes #229
Updates the examples in the documentation for the
Add-VerkadaAccessUserMfaCode function to provide
clearer usage instructions for adding MFA codes using
either the userId or externalId parameters.

Related to 224-mfa-code-endpoints
Adds `Remove-VerkadaAccessUserMfaCode` function.

The function allows deleting an MFA code from a specified user.
It uses the Verkada API endpoint `deletemfacodeviewv1`. The function
supports specifying the user either by their `userId` or `externalId`.

closes #230
@bepsoccer bepsoccer merged commit 75ae601 into release Oct 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants