-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Proposal
Add a method to the ProApi class that allows developers to trigger a redeployment of the Jamf management framework for one or more computers using the POST /v1/jamf-management-framework/redeploy/{id} endpoint.
This is a supported Jamf Pro API endpoint and is useful for client remediation workflows, especially in cases where the Jamf framework becomes unresponsive or needs to be reinstalled for re-enrollment scenarios.
This brings the SDK closer to full parity with available Jamf Pro API endpoints and complements existing functions like renew_mdm_profile_v1.
Example
client.pro_api.redeploy_management_framework_v1(computer_ids=123)
# or multiple
client.pro_api.redeploy_management_framework_v1([123, 456, 789])
# returns
RedeployFrameworkResponse(deviceId='123', commandUuid='...') # per computerAdditional Details
-
Endpoint: POST /v1/jamf-management-framework/redeploy/{id}
-
Response schema: { "deviceId": "...", "commandUuid": "..." }
-
Real-world use cases:
- Resolving devices stuck in partial management state (no check-in, no inventory update, but APNs still functional)
- Redeploying framework after failed PreStage enrollment
I have a working implementation and would be happy to submit a PR if accepted.