Jamf Pro UAPI update device name

justein
New Contributor

Updating an iPad name from the Jamf Pro UI works fine. However, when you use the /uapi/inventory/obj/mobileDevice/{id}/update endpoint, it will update the name in the Jamf UI, but it will not push the changes to the iPad itself. Anyone have any experience with this, or is this intended functionality? Thanks!

1 REPLY 1

SamF
Contributor II
Contributor II

This is intended behavior. To set the device name you would want to use the Classic API, this functionality isn't yet implemented in the Jamf Pro API. One of the following endpoints should do the trick:

/mobiledevicecommands/command
/mobiledevicecommands/command/DeviceName/{device_name}/id/{id_list}

It's also worth noting that this is only supported for supervised devices.