Add redeploy_management_framework_v1 to ProApi#84
Merged
Conversation
liquidz00
approved these changes
Jun 4, 2026
Collaborator
liquidz00
left a comment
There was a problem hiding this comment.
@homebysix agreed on matching the endpoint 1:1 being the better call. Users can iterate over computer ids and call the command if needed, I personally think the situation of redeploying the framework to a single machine is more likely than multiple.
Separately, thank you for writing the tests and including in source docs! 🫶🏻. Everything looks good to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
ProApi.redeploy_management_framework_v1(computer_id), which triggers a redeployment of the Jamf management framework to a computer viaPOST /v1/jamf-management-framework/redeploy/{id}.The method takes a single computer ID and returns a new
RedeployManagementFrameworkResponsemodel (deviceId,commandUuid), matching the endpoint one-to-one. The model is added to the Pro API model reference docs, and a unit test covers its parsing.I'm open to suggestions if you'd rather accept a list of computer IDs instead of a single computer ID, but I thought matching the API endpoint 1-to-1 was a better start.
Closes #61.