Method: Jamf::MDM#unmanage_device

Defined in:
lib/jamf/api/classic/api_objects/mdm.rb,
lib/jamf/api/classic/api_objects/mdm_classic.rb

#unmanage_deviceObject Also known as: remove_mdm_profile

Send an unmanage device command to this object

NOTE: when used with computers, the mdm profile will probably be re-installed immediately unless the computer is also no longer managed by Jamf Pro itself. To fully unmanage a computer, use the Computer#make_unmanaged instance method.



1334
1335
1336
# File 'lib/jamf/api/classic/api_objects/mdm.rb', line 1334

def unmanage_device
  self.class.unmanage_device @id, cnx: @cnx
end