Skip to content

Conversation

@bepsoccer
Copy link
Owner

No description provided.

bepsoccer added 11 commits May 13, 2025 12:27
The `push_options: '--force'` in the release workflow is removed.
Force pushing can lead to unintended consequences and data loss,
so it is best to avoid it unless absolutely necessary.
Removes the Access cmdlets and related documentation because they are no longer supported.
Closes #212 #213 #214 #215
…up-set-ver

212 Add-VerkadaAccessUserToGroup (Set-VerkadaAccessUserGroup)
Adds the `outFile` parameter to `Invoke-VerkadaRestMethod`
to allow users to specify a path to save the API response
to a file.

Streamlines parameter passing to Invoke-RestMethod by using
a splatting technique.
Introduces a new function to retrieve user profile pictures
from the Verkada Access system using their API.
This enhances the module's capabilities by allowing retrieval of
user profile photos, using either the user ID or external ID.

Also adds the new function to the module manifest.
closes #217
Removes the function Export-VerkadaAccessUserProfilePicture as the functionality has been merged into Get-VerkadaAccessUserProfilePicture

closes #218
Adds a check to ensure either an external ID or user ID is provided
to the Get-VerkadaAccessUserProfilePicture function.

This prevents the script from running without sufficient identification
data, improving error handling and preventing unexpected behavior.
Refactors the function to use the public API for removing user profile pictures.

Changes include:
- Using externalId or userId to identify the user.
- Adding a region parameter to target different API regions.
- Switching to using the public API token (x_verkada_auth_api).
- Adding errorsToFile parameter to allow writing errors to a file.

closes #219
Removes the function and its documentation as it is no longer needed.
Adds a check to determine if a profile picture exists for a user before attempting to retrieve it. This prevents errors when a user does not have a profile picture.
@bepsoccer bepsoccer merged commit 6a34723 into release May 14, 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