Will deleting a user from Hexnode using API disenroll his devices?

expand collapsive

When deleting a user using API, do any enrolled devices also get deleted? Or would I need to send disenrolls before deleting?

All Replies

  • Hexnode

    grace-baker

    Moderator

    Hey, Thanks for reaching out to us.

    Yes, if the users are deleted using API, the devices that are assigned to that user will be disenrolled.
    So, you need not initiate a disenroll action on these devices.

    Cheers!
    Grace Baker
    Hexnode MDM

  • Hello K@ren,

    Thank you for reaching out to us.

    Hexnode provides API(s) to customers who wish to perform some repetitive operations on the devices and users in Hexnode without using our web interface.  For example, to delete a user, the HTTP request and shell command are as follows:

    HTTP request:

    Shell command:

    Refer to our help documentation to understand more about API.

    Hope that helps
    Cheers!!
    Deborah Timothy
    Hexnode UEM

    • This reply was modified 2 years, 8 months ago by  Deborah.
    • This reply was modified 2 years, 8 months ago by  Deborah.
    • This reply was modified 2 years, 8 months ago by  Deborah.
    • This reply was modified 2 years, 8 months ago by  Deborah.
    • This reply was modified 2 years, 8 months ago by  Deborah.
    • This reply was modified 2 years, 8 months ago by  Deborah.
  • @_patricia_, that’s a good question.

    When you attempt to delete a user from the portal, you may choose any one of the options for the devices enrolled under the user –
    ● Disenroll device
    ● Assign to a different user

    If you choose to disenroll the device, all devices enrolled or added on the portal (pre-approved devices) will be disenrolled and deleted respectively once the user is deleted. If you choose to change the user, you’ll be redirected to the Change Device Owner window where you can set a new device owner for the device.

    Note: You may only delete local users. Also, you cannot delete any user set as ‘default’ under Enrollment authentication modes, Apple Configurator or DEP enrollment wizards.

    Hope this helps.
    Cheers!
    Zach Goodman
    Hexnode UEM