macadmins / macadmins/jamf-pro-sdk-python
[Bug] preview/mdm/commands deprecated & removed which breaks send_mdm_command_preview() method.
Offen
@liquidz00 arbeitet bereits daran.
Seit 13.8.2025.
bug
- Vorherrschende Sprache
- Python
- Sterne
- 69
- Forks
- 16
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Steps to Reproduce
Attempt to push a mdm command using send_mdm_command_preview() method.
import jamf_pro_sdk
from jamf_pro_sdk.models.pro.mdm import SetRecoveryLockCommand
bobs_managementId = '1234'
newPass = 'longandcomplex'
command_out = client.pro_api.send_mdm_command_preview(
management_ids=[bobs_managementId],
command=SetRecoveryLockCommand(
newPassword=newPass)
)
print("Command ID: " + str(command_out))
Expected Result
Command sent and command ID returned
Actual Result
error 404 endpoint not found for /preview/mdm/commands
System Information
Python 3.10
Jamf 11.19.1
SDK is running 7a1 but didn't see anything related in the 8a1 update but will update and check.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.