Skip to content

[Feature Request] Add support for redeploy_management_framework_v1 to ProApi #61

@jp-cpe

Description

@jp-cpe

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 computer

Additional 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions