Skip to main content
Question

Jamf Pro UAPI update device name

  • January 23, 2019
  • 1 reply
  • 7 views

Forum|alt.badge.img+1

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

Forum|alt.badge.img+20
  • Employee
  • January 23, 2019

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.