macadmins / macadmins/jamf-pro-sdk-python
[Bug] preview/mdm/commands deprecated & removed which breaks send_mdm_command_preview() method.
Aperta
@liquidz00 ci sta già lavorando.
Dal 13/8/2025.
bug
- Lingua principale
- Python
- Stelle
- 69
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.