Skip to content

Devices.update_device only changes SimpleMDM name #38

Closed
@bryanheinz

Description

The Devices.update_device() function claims to update both the SimpleMDM name and device name. However, it only updates the SimpleMDM name.

def update_device(self, name, device_id):
"""Update the SimpleMDM name or device name of a device object."""
url = self.url + "/" + str(device_id)
data = {'name': name}
return self._patch_data(url, data)

SimpleMDM API Devices - Update

Argument Description
name The name of the device within SimpleMDM.
device_name The name that appears on the device itself. Requires supervision. This operation is asynchronous and occurs when the device is online.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingresolved in devResolved in the dev branch, but not committed to main yet.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions