Even when I try a basic update to a computer pre-stage like in your --help examples I get the following error:
echo '{"name":"Test 2"}' | jamf-cli pro computer-prestages update 100
{
"error": "general",
"exitCode": 1,
"message": "request failed (HTTP 500): {\n \"httpStatus\" : 500,\n \"errors\" : [ ]\n}"
}
More complex updates get the same error:
jamf-cli pro computer-prestages get --name "${PreStageName}" -o json | jq --arg packageId "$PackageID" '.customPackageIds = [$packageId]' | jamf-cli pro computer-prestages update --name "${PreStageName}"
{
"error": "general",
"exitCode": 1,
"message": "request failed (HTTP 500): {\n \"httpStatus\" : 500,\n \"errors\" : [ ]\n}"
}
Even when I try a basic update to a computer pre-stage like in your --help examples I get the following error:
More complex updates get the same error: