Updatedevicedefinition

Updates a device definition.